AxWin2 - More fiddling, almost ready now :)
[tpg/acess2.git] / Usermode / include / axwin2 / axwin.h
index 1455c83..5e2a0dd 100644 (file)
 
 // === Core Types ===
 typedef struct sAxWin_Element  tAxWin_Element;
-//typedef struct sAxWin_Message        tAxWin_Message;
 typedef int    tAxWin_MessageCallback(tAxWin_Message *);
-//typedef int  tAxWin_MessageCallback(void *Source, int Message, int Length, void *Data);
 
 // === Functions ===
 extern int     AxWin_Register(const char *ApplicationName, tAxWin_MessageCallback *DefaultHandler);
-extern tAxWin_Element  *AxWin_CreateTab(const char *TabTitle);
+extern tAxWin_Element  *AxWin_CreateWindow(const char *TabTitle);
 extern tAxWin_Element  *AxWin_AddMenuItem(tAxWin_Element *Parent, const char *Label, int Message);
 
 extern int     AxWin_MessageLoop(void);
@@ -107,6 +105,8 @@ enum eElementFlags
 enum eElementTypes
 {
        ELETYPE_NONE,
+
+       ELETYPE_WINDOW, //!< Window root element
        
        ELETYPE_BOX,    //!< Content box (invisible in itself)
        ELETYPE_TABBAR, //!< Tab Bar

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