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_DAMAGERECT, // (u16 win, u16 x, u16 y, u16 w, u16 h) - Force reblit of area
30 //IPCMSG_DRAWGROUP, // (u16 win, u16 group_id) - (hint) Switch to this group
31 //IPCMSG_CLEAR, // (u16 win) - (hint) Clear current drawing group
32 IPCMSG_PUSHDATA, // (u16 win, u16 x, u16 y, u16 w, u16 h, void data)
33 IPCMSG_BLIT, // (win, sx, sy, dx, dy, w, h) - Blit locally
34 IPCMSG_DRAWCTL, // (win, x, y, w, h, ctlid) - Draw
35 IPCMSG_DRAWTEXT, // (win, x, y, fontid, text) - Draw text using an internal font
40 IPC_GLOBATTR_SCREENDIMS, // Screen dimensions - Readonly
41 IPC_GLOBATTR_MAXAREA, // Maximum window area for screen (hint only, not enforced)
46 IPC_WINATTR_SHOW, // u8 - Window shown
47 IPC_WINATTR_FLAGS, // u32 - Decoration enabled, always-on-top
48 IPC_WINATTR_POSITION, // s16, s16
49 IPC_WINATTR_DIMENSIONS, // u16, u16
50 IPC_WINATTR_TITLE, // string