rnd-20001203-1-src
[rocksndiamonds.git] / src / libgame / x11.h
index 783deb3ebb5c10dfd458450b100260875cbfaa4c..dc40776669fe84676a606ff6e7258aa3374ee804 100644 (file)
 #define FULLSCREEN_STATUS      FULLSCREEN_NOT_AVAILABLE
 
 
+/* structure definitions */
+
+struct X11DrawableInfo
+{
+  Drawable drawable;
+  Drawable clip_mask;
+  GC gc;               /* GC for normal drawing (inheritated from 'window') */
+  GC stored_clip_gc;   /* GC for masked drawing (used for whole Pixmap)     */
+  GC clip_gc;          /* can be 'stored_clip_gc' or one-tile-only clip GC  */
+};
+
+
 /* X11 type definitions */
 
-typedef Pixmap                 Bitmap;
-typedef Window                 DrawWindow;
-typedef Drawable               DrawBuffer;
+typedef struct X11DrawableInfo *Bitmap;
+typedef struct X11DrawableInfo *DrawWindow;
+typedef struct X11DrawableInfo *DrawBuffer;
 
 typedef KeySym                 Key;