00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00042 #ifndef _DMXCLIENT_H_
00043 #define _DMXCLIENT_H_
00044 
00045 #define GC XlibGC
00046 
00047 #ifdef _XSERVER64
00048 #define DMX64
00049 #undef _XSERVER64
00050 typedef unsigned long XID64;
00051 typedef unsigned long Mask64;
00052 typedef unsigned long Atom64;
00053 typedef unsigned long VisualID64;
00054 typedef unsigned long Time64;
00055 #define XID           XID64
00056 #define Mask          Mask64
00057 #define Atom          Atom64
00058 #define VisualID      VisualID64
00059 #define Time          Time64
00060 typedef XID           Window64;
00061 typedef XID           Drawable64;
00062 typedef XID           Font64;
00063 typedef XID           Pixmap64;
00064 typedef XID           Cursor64;
00065 typedef XID           Colormap64;
00066 typedef XID           GContext64;
00067 typedef XID           KeySym64;
00068 #define Window        Window64
00069 #define Drawable      Drawable64
00070 #define Font          Font64
00071 #define Pixmap        Pixmap64
00072 #define Cursor        Cursor64
00073 #define Colormap      Colormap64
00074 #define GContext      GContext64
00075 #define KeySym        KeySym64
00076 #endif
00077 
00078 #include <X11/Xlib.h>
00079 #include <X11/Xlibint.h>        
00080 #include <X11/X.h>              
00081 #include <X11/Xmd.h>            
00082 #include <X11/Xproto.h>
00083 #include <X11/Xutil.h>
00084 #include <X11/Xatom.h>
00085 #include <X11/cursorfont.h>
00086 #include <X11/Xmu/SysUtil.h>    
00087 
00088 #ifdef SHAPE
00089 #include <X11/extensions/shape.h>
00090 #endif
00091 
00092 #ifdef RENDER
00093 #include <X11/extensions/Xrender.h>
00094 #undef PictFormatType
00095 #endif
00096 
00097 #ifdef XKB
00098 #include <X11/extensions/XKB.h>
00099 #include <X11/extensions/XKBstr.h>
00100 #endif
00101 
00102 #ifdef XINPUT
00103 #include <X11/extensions/XI.h>
00104 #endif
00105 
00106 
00107 #include <X11/extensions/XInput.h> 
00108 #include <X11/extensions/Xext.h>
00109 
00110 #undef GC
00111 
00112 #ifdef DMX64
00113 #define _XSERVER64
00114 #undef XID
00115 #undef Mask
00116 #undef Atom
00117 #undef VisualID
00118 #undef Time
00119 #undef Window
00120 #undef Drawable
00121 #undef Font
00122 #undef Pixmap
00123 #undef Cursor
00124 #undef Colormap
00125 #undef GContext
00126 #undef KeySym
00127 #endif
00128 
00129 
00130 extern int ProximityIn;
00131 extern int ProximityOut;
00132 extern int DeviceValuator;
00133 extern int DeviceMotionNotify;
00134 extern int DeviceFocusIn;
00135 extern int DeviceFocusOut;
00136 extern int DeviceStateNotify;
00137 extern int DeviceMappingNotify;
00138 extern int ChangeDeviceNotify;
00139 
00140 
00141 #include <X11/XKBlib.h>
00142 #ifdef XKB
00143 #include <X11/extensions/XKBproto.h>
00144 #define XKB_IN_SERVER
00145 #include <X11/extensions/XKBsrv.h>
00146 #undef XPointer
00147 #endif
00148 #include <X11/extensions/XIproto.h>
00149 
00150 #endif