new draw server
This commit is contained in:
31
src/cmd/devdraw/x11-inc.h
Normal file
31
src/cmd/devdraw/x11-inc.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#define Colormap XColormap
|
||||
#define Cursor XCursor
|
||||
#define Display XDisplay
|
||||
#define Drawable XDrawable
|
||||
#define Font XFont
|
||||
#define GC XGC
|
||||
#define Point XPoint
|
||||
#define Rectangle XRectangle
|
||||
#define Screen XScreen
|
||||
#define Visual XVisual
|
||||
#define Window XWindow
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/IntrinsicP.h>
|
||||
#include <X11/StringDefs.h>
|
||||
|
||||
#undef Colormap
|
||||
#undef Cursor
|
||||
#undef Display
|
||||
#undef Drawable
|
||||
#undef Font
|
||||
#undef GC
|
||||
#undef Point
|
||||
#undef Rectangle
|
||||
#undef Screen
|
||||
#undef Visual
|
||||
#undef Window
|
||||
|
||||
Reference in New Issue
Block a user