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
43#pragma pack(push,1)
44typedef struct _bmp_ {
45 unsigned short type;
46 unsigned int size;
47 unsigned short resv1;
48 unsigned short resv2;
49 unsigned int off_bits;
51
52typedef struct _info_ {
53 unsigned int biSize;
54 long biWidth;
55 long biHeight;
56 unsigned short biPlanes;
57 unsigned short biBitCount;
58 unsigned int biCompression;
59 unsigned int biSizeImage;
60 long biXPelsPerMeter;
61 long biYPelsPerMeter;
62 unsigned int biClrUsed;
63 unsigned int biClrImportant;
65#pragma pack(pop)
66
67
68/*
69* LauncherConfigInitialise -- initialise the config file
70*/
71extern void LauncherConfigInitialise();
72
73/*
74* LauncherSetupByConfigFile -- setup the launcher
75* by config file
76*/
77extern void LauncherSetupByConfigFile();
78
79/*
80* XELauncherGetAppGrid -- returns the main
81* application grid
82*/
84
85
87
88
89#endif
struct _bmp_ BMP
void LauncherSetupByConfigFile()
Definition lconfig.cpp:68
AppGrid * XELauncherGetAppGrid()
Definition main.cpp:98
ChWindow * XELauncherGetMainWin()
Definition main.cpp:102
struct _info_ BMPInfo
void LauncherConfigInitialise()
Definition lconfig.cpp:45
Definition appgrid.h:48
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:90
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