Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __PLGRAPHICS_LINUXINCLUDE_H__
00025 #define __PLGRAPHICS_LINUXINCLUDE_H__
00026 #pragma once
00027
00028
00029
00030
00031
00032 #include <X11/Xlib.h>
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #ifdef Button1
00043 namespace PLGraphicsLinuxIncludes {
00044 enum {
00045 X11_Button1 = Button1,
00046 X11_Button2 = Button2,
00047 X11_Button3 = Button3,
00048 X11_Button4 = Button4,
00049 X11_Button5 = Button5
00050 };
00051 }
00052
00053 #undef Button1
00054 #undef Button2
00055 #undef Button3
00056 #undef Button4
00057 #undef Button5
00058
00059 namespace XLib {
00060 enum {
00061 Button1 = PLGraphicsLinuxIncludes::X11_Button1,
00062 Button2 = PLGraphicsLinuxIncludes::X11_Button2,
00063 Button3 = PLGraphicsLinuxIncludes::X11_Button3,
00064 Button4 = PLGraphicsLinuxIncludes::X11_Button4,
00065 Button5 = PLGraphicsLinuxIncludes::X11_Button5
00066 };
00067 }
00068 #endif
00069
00070
00071
00072
00073
00074
00075 #ifdef None
00076 namespace PLGraphicsLinuxIncludes {
00077 enum {
00078 X11_None = None,
00079 X11_Always = Always
00080 };
00081 }
00082
00083 #undef None
00084 #undef Always
00085
00086 namespace XLib {
00087 enum {
00088 None = PLGraphicsLinuxIncludes::X11_None,
00089 Always = PLGraphicsLinuxIncludes::X11_Always
00090 };
00091 }
00092 #endif
00093
00094
00095 #endif // __PLGRAPHICS_LINUXINCLUDE_H__