]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/nanox/X11/Xlib.h
Started some NanoX work (blind to begin with)
[wxWidgets.git] / include / wx / x11 / nanox / X11 / Xlib.h
1 /*
2 * Xlib compatibility
3 */
4
5 #include "XtoNX.h"
6
7 /* Data types */
8
9 typedef GR_PALETTE Colormap;
10
11 /* events*/
12
13 /* What should this be? */
14 #if 0
15 #ifndef ResizeRequest
16 #define ResizeRequest ??
17 #endif
18 #endif
19
20 #ifndef MotionNotify
21 #define MotionNotify GR_EVENT_TYPE_MOUSE_POSITION
22 #define PointerMotionMask GR_EVENT_MASK_MOUSE_POSITION
23 #endif
24
25 #ifndef FocusIn
26 #define FocusIn GR_EVENT_TYPE_FOCUS_IN
27 #define FocusOut GR_EVENT_TYPE_FOCUS_OUT
28 #define FocusChangeMask GR_EVENT_MASK_FOCUS_IN|GR_EVENT_MASK_FOCUS_OUT
29 #endif
30
31 /* Fuunctions */
32
33 #ifdef __cpluplus
34 extern "C" {
35 #endif
36
37 Colormap DefaultColormapOfScreen(Screen /* screen */);
38
39 #ifdef __cpluplus
40 }
41 #endif
42
43 #define XGetMaxRequestSize(display) 16384
44