Usermode/AxWin3 - Implementing more of the widget code
[tpg/acess2.git] / Usermode / Applications / axwin3_src / include / widget_messages.h
index e4f09ed..fa2013a 100644 (file)
 
 enum
 {
-       MSG_WIDGET_CREATE,
+       MSG_WIDGET_CREATE = 0x1000,
        MSG_WIDGET_DELETE,
-       MSG_WIDGET_SETTEXT
+       MSG_WIDGET_SETSIZE,
+       MSG_WIDGET_SETTEXT,
+       MSG_WIDGET_SETCOLOUR
 };
 
 
@@ -20,8 +22,34 @@ typedef struct
 {
        uint32_t        Parent;
        uint32_t        NewID;
+       uint32_t        Type;
+       uint32_t        Flags;
        char    DebugName[];
 } tWidgetMsg_Create;
 
+typedef struct
+{
+       uint32_t        WidgetID;
+} tWidgetMsg_Delete;
+
+typedef struct
+{
+       uint32_t        WidgetID;
+       uint32_t        Value;
+} tWidgetMsg_SetSize;
+
+typedef struct
+{
+       uint32_t        WidgetID;
+       char    Text[];
+} tWidgetMsg_SetText;
+
+typedef struct
+{
+       uint32_t        WidgetID;
+       uint32_t        Index;
+       uint32_t        Colour;
+} tWidgetMsg_SetColour;
+
 #endif
 

UCC git Repository :: git.ucc.asn.au