git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AxWin2 - Huge changes, getting to the working point
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin2_src
/
WM
/
wm.h
diff --git
a/Usermode/Applications/axwin2_src/WM/wm.h
b/Usermode/Applications/axwin2_src/WM/wm.h
index
9ce3544
..
8de9e20
100644
(file)
--- 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 <axwin2/axwin.h>
#ifndef _WM_H_
#define _WM_H_
#include <axwin2/axwin.h>
+#include "common.h"
typedef struct sAxWin_Element tElement;
typedef struct sAxWin_Element tElement;
+typedef struct sTab tTab;
+typedef struct sApplication tApplication;
struct sAxWin_Element
{
struct sAxWin_Element
{
@@
-39,28
+44,32
@@
struct sAxWin_Element
char DebugName[];
};
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;
{
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;
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;
int nTabs;
tTab *Tabs;
+ tTab *CurrentTab;
char Name[];
char Name[];
-}
tApplication
;
+};
#endif
#endif
UCC
git Repository :: git.ucc.asn.au