blob: 1643bb753e3c61348624c62b55d5a659bc383aae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef APPLICATION_H
#define APPLICATION_H
#include <skygi/skygi.h>
class CApplication {
public:
CApplication();
void SetStyle(unsigned int Application,
unsigned int Frame,
unsigned int Title,
unsigned int Menu,
unsigned int Bar,
unsigned int Client);
HRESULT Create(char * name, int x, int y, unsigned int w, unsigned int h, void * (*event)(HANDLE hWnd, s_gi_msg *msg));
HRESULT Destroy();
HRESULT Show();
HRESULT Hide();
HRESULT SetPos(int x, int y);
HRESULT SetSize(int w, int h);
HANDLE GetHANDLE();
private:
HANDLE hWnd;
sCreateApplication * app;
unsigned int StyleApplication;
unsigned int StyleFrame;
unsigned int StyleTitle;
unsigned int StyleMenu;
unsigned int StyleBar;
unsigned int StyleClient;
};
#endif
|