X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin4_src%2FCommon%2Finclude%2Fipc_proto.hpp;h=d9c71bd3b116bef0b00566ace52c513d36ab1696;hb=6fbf6b93bec9b8b5bd6d7c683eefb0ebed8dff77;hp=7018a620307a3f15c25e5031b69138e28f0cf8dc;hpb=d74e5edc75b4fca94b71eef800b9d3a04760da05;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp b/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp index 7018a620..d9c71bd3 100644 --- a/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp +++ b/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp @@ -26,12 +26,16 @@ enum IPCMSG_GETWINBUF, // get a handle to the window's buffer // - Window drawing commands + IPCMSG_DAMAGERECT, // (u16 win, u16 x, u16 y, u16 w, u16 h) - Force reblit of area //IPCMSG_DRAWGROUP, // (u16 win, u16 group_id) - (hint) Switch to this group //IPCMSG_CLEAR, // (u16 win) - (hint) Clear current drawing group IPCMSG_PUSHDATA, // (u16 win, u16 x, u16 y, u16 w, u16 h, void data) IPCMSG_BLIT, // (win, sx, sy, dx, dy, w, h) - Blit locally IPCMSG_DRAWCTL, // (win, x, y, w, h, ctlid) - Draw IPCMSG_DRAWTEXT, // (win, x, y, fontid, text) - Draw text using an internal font + + // - Client-bound commands + IPCMSG_INPUTEVENT, // (u8 event, u16 win, ...) }; enum eIPC_GlobalAttrs @@ -49,6 +53,13 @@ enum eIPC_WinAttrs IPC_WINATTR_TITLE, // string }; +enum eIPC_InputEvents +{ + IPC_INEV_KEYBOARD, // (u16 keysym, u8 keydown, string text) + IPC_INEV_MOUSEBTN, // (u16 x, u16 y) + IPC_INEV_MOUSEMOVE, // (u16 x, u16 y, u8 btn, u8 btndown) +}; + }; #endif