X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Faxwin%2Fmessages.h;h=b27583ef980ec7f0c05e42e97402ba44e1c0f65a;hb=872dbea3900b09c78092d3cdf035513f400bcfe8;hp=e4ed1fe2f478fcedff7fa6c7e8c7a95fe24c1e78;hpb=b3fa9a08edcbc459bd8e9df73186e292470ebfc3;p=tpg%2Facess2.git diff --git a/Usermode/include/axwin/messages.h b/Usermode/include/axwin/messages.h index e4ed1fe2..b27583ef 100644 --- a/Usermode/include/axwin/messages.h +++ b/Usermode/include/axwin/messages.h @@ -18,10 +18,23 @@ enum eAxWin_Messages // Server Requests MSG_SREQ_PING, // - Windows - MSG_SREQ_NEWWINDOW, // (short x, y, w, h, uint32_t flags) - MSG_SREQ_GETFLAGS, MSG_SREQ_SETFLAGS, - MSG_SREQ_GETRECT, MSG_SREQ_SETRECT, + MSG_SREQ_REGISTER, // bool (char[] Name) - Registers this PID with the Window Manager + + MSG_SREQ_ADDTAB, // ELEMENT (char[] Name) - Adds a tab to the window + MSG_SREQ_DELTAB, // void (TAB Tab) - Closes a tab + + MSG_SREQ_NEWDIALOG, // ELEMENT (ELEMENT Parent, char[] Name) - Creates a dialog + MSG_SREQ_DELDIALOG, // void (ELEMENT Dialog) - Closes a dialog + + MSG_SREQ_SETNAME, // void (ELEMENT Element, char[] Name) + MSG_SREQ_GETNAME, // char[] (ELEMENT Element) + + // - Builtin Elements + MSG_SREQ_INSERT, // void (ELEMENT Parent, eAxWin_Controls Type, u32 Flags) + // - Drawing + // All drawing functions take an ELEMENT as their first parameter. + // This must be either a Tab, Dialog or Canvas control MSG_SREQ_SETCOL, MSG_SREQ_PSET, MSG_SREQ_LINE, MSG_SREQ_CURVE, @@ -30,9 +43,7 @@ enum eAxWin_Messages MSG_SREQ_SETFONT, MSG_SREQ_PUTTEXT, // Server Responses - MSG_SRSP_PONG, - MSG_SRSP_WINDOW, // Returns the new window ID - MSG_SRSP_IMG, // Returns the image ID + MSG_SRSP_RETURN, // {int RequestID, void[] Return Value} - Returns a value from a server request NUM_MSG };