ee160b809a60e5c16708e7e390fba4a7116e46c7
[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 unsigned int    tAxWin_Handle;
11
12 // === Messaging ===
13 #include "messages.h"
14 extern int      AxWin_MessageLoop();
15
16 // === Window Control ===
17 /**
18  * \brief Window Type
19  * \note Opaque Type
20  */
21 typedef struct sAxWin_Window    tAxWin_Window;
22
23 typedef int     tAxWin_MessageCallback(tAxWin_Message *);
24
25 /**
26  * \brief Window Flags
27  * \{
28  */
29 #define WINFLAG_NOBORDER        0x100
30 /**
31  * \}
32  */
33 extern tAxWin_Window    AxWin_CreateWindow(
34                 int16_t X, int16_t Y, int16_t W, int16_t H,
35                 uint32_t Flags, tAxWin_MessageCallback *Callback);
36
37 #endif

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