Usermode/AxWin3 - Workign on interface lib, adding basic UI app
[tpg/acess2.git] / Usermode / Applications / axwin3_src / Interface / main.c
1 /*
2  * Acess2 GUI v3 User Interface
3  * - By John Hodge (thePowersGang)
4  *
5  * main.c
6  * - Interface core
7  */
8 #include <stdlib.h>
9 #include <axwin3/axwin.h>
10
11 // === GLOBALS ===
12 tHWND   gSidebar;
13
14 // === CODE ===
15 int main(int argc, char *argv[])
16 {
17         // Connect to AxWin3 Server
18         AxWin3_Connect(NULL);
19         
20         // Create sidebar
21         // TODO: Use the widget library instead
22         gSidebar = AxWin3_CreateWindow(NULL, "widget", 0, 0, NULL);
23         
24         // Idle loop
25         AxWin3_MainLoop();
26         
27         return 0;
28 }
29

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