X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Faxwin2%2Faxwin.h;h=5e2a0dde0e2f5a6c952fdbab040aabacb839e334;hb=7941d6b368acb0abc17e6a77ffaf7b4c306b67ab;hp=5ef6ed82ae255785129bea774b0d8c1affb55b00;hpb=3117b20bcbfbed588ede9b29a7f90eafc762b138;p=tpg%2Facess2.git diff --git a/Usermode/include/axwin2/axwin.h b/Usermode/include/axwin2/axwin.h index 5ef6ed82..5e2a0dde 100644 --- a/Usermode/include/axwin2/axwin.h +++ b/Usermode/include/axwin2/axwin.h @@ -13,13 +13,11 @@ // === 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); @@ -108,7 +106,7 @@ enum eElementTypes { ELETYPE_NONE, - ELETYPE_WINDOW, + ELETYPE_WINDOW, //!< Window root element ELETYPE_BOX, //!< Content box (invisible in itself) ELETYPE_TABBAR, //!< Tab Bar