X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2Finclude%2Fipcmessages.h;h=50a9955ba399e2e5761110b6e0944abc98a1a919;hb=6457e97e47fa29a23975daf853a3c032ce6650ef;hp=a3fda63b9e7290441c0cf63cb9e14b7841e5718e;hpb=e20b7220513e6010d883ae76ca1cf2c8f0ec26af;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/include/ipcmessages.h b/Usermode/Applications/axwin3_src/include/ipcmessages.h index a3fda63b..50a9955b 100644 --- a/Usermode/Applications/axwin3_src/include/ipcmessages.h +++ b/Usermode/Applications/axwin3_src/include/ipcmessages.h @@ -14,9 +14,10 @@ typedef struct sAxWin_IPCMessage tAxWin_IPCMessage; typedef struct sIPCMsg_ReturnInt tIPCMsg_ReturnInt; typedef struct sIPCMsg_CreateWin tIPCMsg_CreateWin; -typedef struct sIPCMsg_ShowWindow tIPCMsg_ShowWindow; +typedef struct sIPCMsg_Boolean tIPCMsg_Boolean; typedef struct sIPCMsg_SetWindowPos tIPCMsg_SetWindowPos; typedef struct sIPCMsg_SendMsg tIPCMsg_SendMsg; +typedef struct sIPCMsg_RegAction tIPCMsg_RegAction; typedef struct sIPCMsg_GetDisplayDims tIPCMsg_GetDisplayDims; typedef struct sIPCMsg_RetDisplayDims tIPCMsg_RetDisplayDims; @@ -27,6 +28,8 @@ typedef struct sIPCMsg_RetDisplayDims tIPCMsg_RetDisplayDims; */ //! Request a return value #define IPCMSG_FLAG_RETURN 0x01 +//! IPC Message for renderer +#define IPCMSG_FLAG_RENDERER 0x80 /** * \} */ @@ -60,9 +63,9 @@ struct sIPCMsg_SendMsg char Data[]; }; -struct sIPCMsg_ShowWindow +struct sIPCMsg_Boolean { - uint32_t bShow; + uint32_t Value; }; struct sIPCMsg_SetWindowPos @@ -73,6 +76,12 @@ struct sIPCMsg_SetWindowPos uint8_t bSetDims; }; +struct sIPCMsg_RegAction +{ + uint16_t Index; + char Action[]; +}; + struct sIPCMsg_GetDisplayDims { uint16_t DisplayID; @@ -95,9 +104,12 @@ enum eAxWin_IPCMessageTypes IPCMSG_SENDMSG, //!< Send a message to another window (or to self) IPCMSG_CREATEWIN, //!< Create a window IPCMSG_DESTROYWIN, //!< Destroy a window + IPCMSG_SETWINTITLE, //!< Set window title IPCMSG_SHOWWINDOW, //!< Show/Hide a window + IPCMSG_DECORATEWINDOW, //!< Enable/Disable decorations IPCMSG_FOCUSWINDOW, //!< Give a window focus (no data) IPCMSG_SETWINPOS, //!< Set a window position + IPCMSG_REGACTION //!< Register an action name }; #endif