Usermode/AxWin3 - Adding decorator to widget renderer
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / wm_messages.h
index 0bebfda..d37097f 100644 (file)
@@ -8,6 +8,9 @@
 #ifndef _WM_MESSAGES_H_
 #define _WM_MESSAGES_H_
 
+/**
+ * \brief Messages delivered to windows
+ */
 enum eWM_WindowMessages
 {
        WNDMSG_NULL,
@@ -16,6 +19,8 @@ enum eWM_WindowMessages
        WNDMSG_DESTROY,
        WNDMSG_FOCUS,   // Called on change
        WNDMSG_SHOW,    // Called on change
+
+       WNDMSG_RESIZE,
        
        WNDMSG_MOUSEMOVE,
        WNDMSG_MOUSEBTN,
@@ -27,4 +32,9 @@ enum eWM_WindowMessages
        WNDMSG_CLASS_MAX = 0x2000,
 };
 
+struct sWndMsg_Resize
+{
+       uint16_t        W, H;
+};
+
 #endif

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