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
InitRD - Libc++, libm, bochs, dbserver
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
include
/
widget_messages.h
diff --git
a/Usermode/Applications/axwin3_src/include/widget_messages.h
b/Usermode/Applications/axwin3_src/include/widget_messages.h
index
f36c729
..
6064d6f
100644
(file)
--- a/
Usermode/Applications/axwin3_src/include/widget_messages.h
+++ b/
Usermode/Applications/axwin3_src/include/widget_messages.h
@@
-8,29
+8,23
@@
#ifndef _WIDGET_MESSAGES_H_
#define _WIDGET_MESSAGES_H_
#ifndef _WIDGET_MESSAGES_H_
#define _WIDGET_MESSAGES_H_
-enum
+enum
eWidgetIPCCalls
{
// Control (Client->Server) messages
{
// Control (Client->Server) messages
-
MSG_WIDGET_CREATE = 0x1000
,
-
MSG
_WIDGET_CREATESUBWIN,
-
MSG
_WIDGET_DELETE,
-
MSG
_WIDGET_SETFOCUS,
-
MSG
_WIDGET_SETFLAGS,
-
MSG
_WIDGET_SETSIZE,
-
MSG
_WIDGET_SETTEXT,
-
MSG
_WIDGET_SETCOLOUR,
+
IPC_WIDGET_CREATE
,
+
IPC
_WIDGET_CREATESUBWIN,
+
IPC
_WIDGET_DELETE,
+
IPC
_WIDGET_SETFOCUS,
+
IPC
_WIDGET_SETFLAGS,
+
IPC
_WIDGET_SETSIZE,
+
IPC
_WIDGET_SETTEXT,
+
IPC
_WIDGET_SETCOLOUR,
-
- // Request (Client->Server->Client) messages
- MSG_WIDGET_GETTEXT,
-
- // Event (Server->Client) messages
- MSG_WIDGET_FIRE,
- MSG_WIDGET_KEYPRESS,
- MSG_WIDGET_MOUSEBTN,
+ IPC_WIDGET_GETTEXT,
+
+ N_IPC_WIDGET
};
};
-
typedef struct
{
uint32_t Parent;
typedef struct
{
uint32_t Parent;
@@
-38,7
+32,7
@@
typedef struct
uint32_t Type;
uint32_t Flags;
char DebugName[];
uint32_t Type;
uint32_t Flags;
char DebugName[];
-} tWidget
Msg
_Create;
+} tWidget
IPC
_Create;
typedef struct
{
typedef struct
{
@@
-48,43
+42,53
@@
typedef struct
uint32_t Flags;
uint32_t WindowHandle;
char DebugName[];
uint32_t Flags;
uint32_t WindowHandle;
char DebugName[];
-} tWidget
Msg
_CreateSubWin;
+} tWidget
IPC
_CreateSubWin;
typedef struct
{
uint32_t WidgetID;
typedef struct
{
uint32_t WidgetID;
-} tWidget
Msg
_Delete;
+} tWidget
IPC
_Delete;
typedef struct
{
uint32_t WidgetID;
typedef struct
{
uint32_t WidgetID;
-} tWidget
Msg
_SetFocus;
+} tWidget
IPC
_SetFocus;
typedef struct
{
uint32_t WidgetID;
uint32_t Value;
uint32_t Mask;
typedef struct
{
uint32_t WidgetID;
uint32_t Value;
uint32_t Mask;
-} tWidget
Msg
_SetFlags;
+} tWidget
IPC
_SetFlags;
typedef struct
{
uint32_t WidgetID;
uint32_t Value;
typedef struct
{
uint32_t WidgetID;
uint32_t Value;
-} tWidget
Msg
_SetSize;
+} tWidget
IPC
_SetSize;
typedef struct
{
uint32_t WidgetID;
char Text[];
typedef struct
{
uint32_t WidgetID;
char Text[];
-} tWidget
Msg
_SetText;
+} tWidget
IPC
_SetText;
typedef struct
{
uint32_t WidgetID;
uint32_t Index;
uint32_t Colour;
typedef struct
{
uint32_t WidgetID;
uint32_t Index;
uint32_t Colour;
-} tWidgetMsg_SetColour;
+} tWidgetIPC_SetColour;
+
+enum eWidgetMessages
+{
+ // Event (Server->Client) messages
+ MSG_WIDGET_FIRE = 0x1000,
+ MSG_WIDGET_KEYPRESS,
+ MSG_WIDGET_MOUSEBTN,
+};
+
+
typedef struct
{
typedef struct
{
UCC
git Repository :: git.ucc.asn.au