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
IPStack - Cleaned up userland 'ip' tool, and fixed some little bugs
[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
c6c7cdc
..
0a4b250
100644
(file)
--- a/
Usermode/Applications/axwin3_src/include/widget_messages.h
+++ b/
Usermode/Applications/axwin3_src/include/widget_messages.h
@@
-10,12
+10,23
@@
enum
{
enum
{
+ // Control (Client->Server) messages
MSG_WIDGET_CREATE = 0x1000,
MSG_WIDGET_DELETE,
MSG_WIDGET_CREATE = 0x1000,
MSG_WIDGET_DELETE,
+ MSG_WIDGET_SETFOCUS,
MSG_WIDGET_SETFLAGS,
MSG_WIDGET_SETSIZE,
MSG_WIDGET_SETTEXT,
MSG_WIDGET_SETFLAGS,
MSG_WIDGET_SETSIZE,
MSG_WIDGET_SETTEXT,
- MSG_WIDGET_SETCOLOUR
+ MSG_WIDGET_SETCOLOUR,
+
+
+ // Request (Client->Server->Client) messages
+ MSG_WIDGET_GETTEXT,
+
+ // Event (Server->Client) messages
+ MSG_WIDGET_FIRE,
+ MSG_WIDGET_KEYPRESS,
+ MSG_WIDGET_MOUSEBTN,
};
};
@@
-33,6
+44,11
@@
typedef struct
uint32_t WidgetID;
} tWidgetMsg_Delete;
uint32_t WidgetID;
} tWidgetMsg_Delete;
+typedef struct
+{
+ uint32_t WidgetID;
+} tWidgetMsg_SetFocus;
+
typedef struct
{
uint32_t WidgetID;
typedef struct
{
uint32_t WidgetID;
@@
-59,5
+75,26
@@
typedef struct
uint32_t Colour;
} tWidgetMsg_SetColour;
uint32_t Colour;
} tWidgetMsg_SetColour;
+typedef struct
+{
+ uint32_t WidgetID;
+} tWidgetMsg_Fire;
+
+typedef struct
+{
+ uint32_t WidgetID;
+ uint32_t KeySym;
+ uint32_t Character;
+} tWidgetMsg_KeyEvent;
+
+typedef struct
+{
+ uint32_t WidgetID;
+ uint16_t X;
+ uint16_t Y;
+ uint8_t Button;
+ uint8_t bPressed;
+} tWidgetMsg_MouseBtn;
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au