X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Faxwin2%2Faxwin.h;h=77db620a991d9b6802d05a957ff9709200315afb;hb=f0c407e7d468bc5acfd8d436be7f79f6e6248421;hp=ad5b76d9c21e8950240e85f30cfd6794a7e4d0d9;hpb=43992cf707ec82f8ffd3a1500ad5952640335a6d;p=tpg%2Facess2.git diff --git a/Usermode/include/axwin2/axwin.h b/Usermode/include/axwin2/axwin.h index ad5b76d9..77db620a 100644 --- a/Usermode/include/axwin2/axwin.h +++ b/Usermode/include/axwin2/axwin.h @@ -13,12 +13,11 @@ // === Core Types === typedef struct sAxWin_Element tAxWin_Element; -//typedef struct sAxWin_Message tAxWin_Message; typedef int tAxWin_MessageCallback(tAxWin_Message *); // === 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); @@ -101,11 +100,15 @@ enum eElementFlags ELEFLAG_ALIGN_END = 0x200 }; +#define ELEFLAG_WINDOW_MAXIMISED 0x10000 + /** */ enum eElementTypes { ELETYPE_NONE, + + ELETYPE_WINDOW, //!< Window root element ELETYPE_BOX, //!< Content box (invisible in itself) ELETYPE_TABBAR, //!< Tab Bar