X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=inline;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fwm.h;h=8de9e206e6925ca43c157173a7c9068fc9131b03;hb=ad2ec62655e1d6eb8f2b4a4684eb5d7952aea0fb;hp=9ce35443b0b6523fdb8f9b8a533a71389aaffba7;hpb=43992cf707ec82f8ffd3a1500ad5952640335a6d;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/wm.h b/Usermode/Applications/axwin2_src/WM/wm.h index 9ce35443..8de9e206 100644 --- a/Usermode/Applications/axwin2_src/WM/wm.h +++ b/Usermode/Applications/axwin2_src/WM/wm.h @@ -1,10 +1,15 @@ - +/* + * Acess2 Window Manager (AxWin2) + */ #ifndef _WM_H_ #define _WM_H_ #include +#include "common.h" typedef struct sAxWin_Element tElement; +typedef struct sTab tTab; +typedef struct sApplication tApplication; struct sAxWin_Element { @@ -39,28 +44,32 @@ struct sAxWin_Element char DebugName[]; }; -typedef struct sTab +struct sTab { int Type; // Should be zero, allows a tab to be the parent of an element tElement *Parent; tElement *FirstChild; tElement *LastChild; - struct sTab *NextTab; + tTab *NextTab; char *Name; tElement *RootElement; -} tTab; +}; -typedef struct sApplication +struct sApplication { - pid_t PID; + tApplication *Next; + + void *Ident; + tMessages_Handle_Callback *SendMessage; int nTabs; tTab *Tabs; + tTab *CurrentTab; char Name[]; -} tApplication; +}; #endif