14 typedef uint8_t CARD8;
15 typedef uint16_t CARD16;
16 typedef uint32_t CARD32;
18 typedef CARD32 BITMASK;
19 typedef CARD32 WINDOW;
20 typedef CARD32 PIXMAP;
21 typedef CARD32 CURSOR;
23 typedef CARD32 GCONTEXT;
24 typedef CARD32 COLORMAP;
25 typedef CARD32 DRAWABLE;
26 typedef CARD32 FONTABLE;
28 typedef CARD32 VISUALID;
29 typedef CARD32 TIMESTAMP;
30 typedef CARD32 KEYSYM;
31 typedef CARD8 KEYCODE;
34 typedef CARD8* STRING8;
36 /* BITGRAVITY, WINGRAVITY */
53 /* SETofEVENT, SETofPOINTEREVENT, SETofDEVICEEVENT bitmasks */
54 #define KeyPress 0x00000001
55 #define KeyRelease 0x00000002
56 #define ButtonPress 0x00000004
57 #define ButtonRelease 0x00000008
58 #define EnterWindow 0x00000010
59 #define LeaveWindow 0x00000020
60 #define PointerMotion 0x00000040
61 #define PointerMotionHint 0x00000080
62 #define Button1Motion 0x00000100
63 #define Button2Motion 0x00000200
64 #define Button3Motion 0x00000400
65 #define Button4Motion 0x00000800
66 #define Button5Motion 0x00001000
67 #define ButtonMotion 0x00002000
68 #define KeymapState 0x00004000
69 #define Exposure 0x00008000
70 #define VisibilityChange 0x00010000
71 #define StructureNotify 0x00020000
72 #define ResizeRedirect 0x00040000
73 #define SubstructureNotify 0x00080000
74 #define SubstructureRedirect 0x00100000
75 #define FocusChange 0x00200000
76 #define PropertyChange 0x00400000
77 #define ColormapChange 0x00800000
78 #define OwnerGrabButton 0x01000000
80 #define SetOfEventUnused 0xfe000000
81 #define SetOfPointerEventUnused 0xffff8003
82 #define SetOfDeviceEventUnused 0xffffc0b0
84 /* SETofKEYBUTMASK, SETofKEYMASK bitmasks */
87 #define Control 0x0004
93 #define Button1 0x0100
94 #define Button2 0x0200
95 #define Button3 0x0400
96 #define Button4 0x0800
97 #define Button5 0x1000
99 #define SetOfKeyButMaskUnused 0xe000
100 #define SetOfKeyMaskUnused 0xff00
106 typedef CHAR2B* STRING16;
114 CARD16 width, height;
119 CARD16 width, height;
120 INT16 angle1, angle2;
123 /* family field of the HOST structure */
128 ServerInterpreted = 5,
133 CARD8 family, unused1;
143 #endif /* XTYPES_H_ */