Usermode/AxWin3 - Working on keyboard input
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / wm_messages.h
index e4b4622..c7955f6 100644 (file)
@@ -32,6 +32,11 @@ enum eWM_WindowMessages
        WNDMSG_CLASS_MAX = 0x2000,
 };
 
+struct sWndMsg_Bool
+{
+        uint8_t        Val;
+};
+
 struct sWndMsg_Resize
 {
        uint16_t        W, H;
@@ -45,9 +50,15 @@ struct sWndMsg_MouseMove
 
 struct sWndMsg_MouseButton
 {
-       uint16_t        X, Y;
+        int16_t        X, Y;
        uint8_t         Button;
        uint8_t         bPressed;
 };
 
+struct sWndMsg_KeyAction
+{
+       uint32_t        KeySym;
+       uint32_t        UCS32;
+};
+
 #endif

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