XenevaOS
Loading...
Searching...
No Matches
launcher.h
Go to the documentation of this file.
1
30#ifndef __LAUNCHER_H__
31#define __LAUNCHER_H__
32
33#include "appgrid.h"
34
35#define LAUNCH_BUTTON_W 100
36#define LAUNCH_BUTTON_H 100
37
38#define LAUNCH_BUTTON_ICON_W 75
39#define LAUNCH_BUTTON_ICON_H 70
40#define LAUNCHER_BACKGROUND_COLOR 0x1A48494B //3A3A3A
41
43#define INIT_REQUEST_PW_DOWN "init.request.powerdown"
44#define INIT_REQUEST_PW_REBOOT "init.request.reboot"
45
46#pragma pack(push, 1)
47typedef struct _bmp_ {
48 unsigned short type;
49 unsigned int size;
50 unsigned short resv1;
51 unsigned short resv2;
52 unsigned int off_bits;
54
55typedef struct _info_ {
56 unsigned int biSize;
57 long biWidth;
58 long biHeight;
59 unsigned short biPlanes;
60 unsigned short biBitCount;
61 unsigned int biCompression;
62 unsigned int biSizeImage;
63 long biXPelsPerMeter;
64 long biYPelsPerMeter;
65 unsigned int biClrUsed;
66 unsigned int biClrImportant;
68#pragma pack(pop)
69
70typedef struct _init_request_msg_ {
71 char message[60];
75
76/*
77* LauncherConfigInitialise -- initialise the config file
78*/
79extern void LauncherConfigInitialise();
80
81/*
82* LauncherSetupByConfigFile -- setup the launcher
83* by config file
84*/
85extern void LauncherSetupByConfigFile();
86
87/*
88* XELauncherGetAppGrid -- returns the main
89* application grid
90*/
92
94
95extern int xelaunch_get_pipe();
96
97#endif
unsigned short int uint16_t
Definition acefiex.h:162
struct _bmp_ BMP
void LauncherSetupByConfigFile()
Definition lconfig.cpp:67
AppGrid * XELauncherGetAppGrid()
Definition main.cpp:212
ChWindow * XELauncherGetMainWin()
Definition main.cpp:216
int xelaunch_get_pipe()
Definition main.cpp:369
struct _init_request_msg_ InitRequestMsg
struct _info_ BMPInfo
void LauncherConfigInitialise()
Definition lconfig.cpp:44
Definition appgrid.h:56
Definition bmp.h:33
unsigned short type
Definition bmp.h:34
unsigned int size
Definition bmp.h:35
unsigned short resv1
Definition bmp.h:36
unsigned int off_bits
Definition bmp.h:38
unsigned short resv2
Definition bmp.h:37
Definition window.h:99
Definition bmp.h:41
unsigned int biClrUsed
Definition bmp.h:51
unsigned int biClrImportant
Definition bmp.h:52
long biWidth
Definition bmp.h:43
unsigned short biPlanes
Definition bmp.h:45
unsigned int biCompression
Definition bmp.h:47
unsigned int biSize
Definition bmp.h:42
unsigned short biBitCount
Definition bmp.h:46
unsigned int biSizeImage
Definition bmp.h:48
long biYPelsPerMeter
Definition bmp.h:50
long biHeight
Definition bmp.h:44
long biXPelsPerMeter
Definition bmp.h:49
Definition _init.cpp:70
char message[60]
Definition _init.cpp:71
uint16_t toProcessId
Definition _init.cpp:73
uint16_t fromProcessId
Definition _init.cpp:72