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