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
Usermode/init - Fixed bad stderr for 'exec' commands
[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
0a4b250
..
6064d6f
100644
(file)
--- a/
Usermode/Applications/axwin3_src/include/widget_messages.h
+++ b/
Usermode/Applications/axwin3_src/include/widget_messages.h
@@
-8,27
+8,31
@@
#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_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;
+ uint32_t NewID;
+ uint32_t Type;
+ uint32_t Flags;
+ char DebugName[];
+} tWidgetIPC_Create;
typedef struct
{
typedef struct
{
@@
-36,44
+40,55
@@
typedef struct
uint32_t NewID;
uint32_t Type;
uint32_t Flags;
uint32_t NewID;
uint32_t Type;
uint32_t Flags;
+ uint32_t WindowHandle;
char DebugName[];
char DebugName[];
-} tWidget
Msg_Create
;
+} 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