#include "sets.h" SETVALS SETofEVENT_[] = { { 0x00000001, "KeyPress" }, { 0x00000002, "KeyRelease" }, { 0x00000004, "ButtonPress" }, { 0x00000008, "ButtonRelease" }, { 0x00000010, "EnterWindow" }, { 0x00000020, "LeaveWindow" }, { 0x00000040, "PointerMotion" }, { 0x00000080, "PointerMotionHint" }, { 0x00000100, "Button1Motion" }, { 0x00000200, "Button2Motion" }, { 0x00000400, "Button3Motion" }, { 0x00000800, "Button4Motion" }, { 0x00001000, "Button5Motion" }, { 0x00002000, "ButtonMotion" }, { 0x00004000, "KeymapState" }, { 0x00008000, "Exposure" }, { 0x00010000, "VisibilityChange" }, { 0x00020000, "StructureNotify" }, { 0x00040000, "ResizeRedirect" }, { 0x00080000, "SubstructureNotify" }, { 0x00100000, "SubstructureRedirect" }, { 0x00200000, "FocusChange" }, { 0x00400000, "PropertyChange" }, { 0x00800000, "ColormapChange" }, { 0x01000000, "OwnerGrabButton" }, { 0, 0 } }; SETVALS SETofDEVICEEVENT_[] = { { 0x00000001, "KeyPress" }, { 0x00000002, "KeyRelease" }, { 0x00000004, "ButtonPress" }, { 0x00000008, "ButtonRelease" }, { 0x00000040, "PointerMotion" }, { 0x00000100, "Button1Motion" }, { 0x00000200, "Button2Motion" }, { 0x00000400, "Button3Motion" }, { 0x00000800, "Button4Motion" }, { 0x00001000, "Button5Motion" }, { 0x00002000, "ButtonMotion" }, { 0, 0 } }; SETVALS SETofPOINTEREVENT_[] = { { 0x00000004, "ButtonPress" }, { 0x00000008, "ButtonRelease" }, { 0x00000010, "EnterWindow" }, { 0x00000020, "LeaveWindow" }, { 0x00000040, "PointerMotion" }, { 0x00000080, "PointerMotionHint" }, { 0x00000100, "Button1Motion" }, { 0x00000200, "Button2Motion" }, { 0x00000400, "Button3Motion" }, { 0x00000800, "Button4Motion" }, { 0x00001000, "Button5Motion" }, { 0x00002000, "ButtonMotion" }, { 0x00004000, "KeymapState" }, { 0, 0 } }; SETVALS SETofKEYMASK_[] = { { 0x0001, "Shift" }, { 0x0002, "Lock" }, { 0x0004, "Control" }, { 0x0008, "Mod1" }, { 0x0010, "Mod2" }, { 0x0020, "Mod3" }, { 0x0040, "Mod4" }, { 0x0080, "Mod5" }, { 0, 0 } }; SETVALS SETofKEYBUTMASK_[] = { { 0x0001, "Shift" }, { 0x0002, "Lock" }, { 0x0004, "Control" }, { 0x0008, "Mod1" }, { 0x0010, "Mod2" }, { 0x0020, "Mod3" }, { 0x0040, "Mod4" }, { 0x0080, "Mod5" }, { 0x0100, "Button1" }, { 0x0200, "Button2" }, { 0x0400, "Button3" }, { 0x0800, "Button4" }, { 0x1000, "Button5" }, { 0, 0 } }; SETVALS COPYGC_[] = { { 0x00000001, "Function" }, { 0x00000002, "Plane mask" }, { 0x00000004, "Foreground" }, { 0x00000008, "Background" }, { 0x00000010, "Line width" }, { 0x00000020, "Line style" }, { 0x00000040, "Cap style" }, { 0x00000080, "Join style" }, { 0x00000100, "Fill style" }, { 0x00000200, "Fill rule" }, { 0x00000400, "Tile" }, { 0x00000800, "Stipple" }, { 0x00001000, "Tile/stipple X origin" }, { 0x00002000, "Tile/stipple Y origin" }, { 0x00004000, "Font" }, { 0x00008000, "Subwindow mode" }, { 0x00010000, "Graphics exposures" }, { 0x00020000, "Clip X origin" }, { 0x00040000, "Clip Y origin" }, { 0x00080000, "Clip mask" }, { 0x00100000, "Dash offset" }, { 0x00200000, "Dashes" }, { 0x00400000, "Arc mode" }, { 0, 0 } };