Kernel - Applying MM_MapTemp changes to armv7 and amd64
[tpg/acess2.git] / Usermode / include / axwin / axwin.h
1 /**
2  * \file axwin.h
3  * \author John Hodge (thePowersGang)
4  * \brief AxWin Core functions
5  */
6 #ifndef _AXWIN_AXWIN_H
7 #define _AXWIN_AXWIN_H
8
9 // === Core Types ===
10 typedef void    *tAxWin_Handle;
11
12 // === Messaging ===
13 #include "messages.h"
14
15 extern int      AxWin_Register(const char *Name);
16
17 extern int      AxWin_MessageLoop();
18 extern int      AxWin_SendMessage(tAxWin_Message *Message);
19 extern tAxWin_Message   *AxWin_WaitForMessage(void);
20 extern int      AxWin_HandleMessage(tAxWin_Message *Message);
21
22 // === Window Control ===
23 /**
24  * \brief Window Type
25  * \note Opaque Type
26  */
27 typedef struct sAxWin_Window    tAxWin_Window;
28
29 typedef int     tAxWin_MessageCallback(tAxWin_Message *);
30
31 /**
32  * \brief Window Flags
33  * \{
34  */
35 #define WINFLAG_NOBORDER        0x100
36 /**
37  * \}
38  */
39
40 extern tAxWin_Window    *AxWin_CreateWindow(
41                 int16_t X, int16_t Y, int16_t W, int16_t H,
42                 uint32_t Flags, tAxWin_MessageCallback *Callback);
43
44 #endif

UCC git Repository :: git.ucc.asn.au