3 * - By John Hodge (thePowersGang)
6 * - IPC Protocol Header
26 IPCMSG_GETWINBUF, // get a handle to the window's buffer
28 // - Window drawing commands
29 //IPCMSG_DRAWGROUP, // (u16 win, u16 group_id) - (hint) Switch to this group
30 //IPCMSG_CLEAR, // (u16 win) - (hint) Clear current drawing group
31 IPCMSG_PUSHDATA, // (u16 win, u16 x, u16 y, u16 w, u16 h, void data)
32 IPCMSG_BLIT, // (win, sx, sy, dx, dy, w, h) - Blit locally
33 IPCMSG_DRAWCTL, // (win, x, y, w, h, ctlid) - Draw
34 IPCMSG_DRAWTEXT, // (win, x, y, fontid, text) - Draw text using an internal font
39 IPC_GLOBATTR_SCREENDIMS, // Screen dimensions - Readonly
40 IPC_GLOBATTR_MAXAREA, // Maximum window area for screen (hint only, not enforced)
45 IPC_WINATTR_SHOW, // u8 - Window shown
46 IPC_WINATTR_FLAGS, // u32 - Decoration enabled, always-on-top
47 IPC_WINATTR_POSITION, // s16, s16
48 IPC_WINATTR_DIMENSIONS, // u16, u16
49 IPC_WINATTR_TITLE, // string