summaryrefslogtreecommitdiffstats
path: root/jwxyz/jwxyz.h
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /jwxyz/jwxyz.h
parentMaybe not remove, but ... (diff)
downloadxscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'jwxyz/jwxyz.h')
-rw-r--r--jwxyz/jwxyz.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/jwxyz/jwxyz.h b/jwxyz/jwxyz.h
index fa76571..3eac567 100644
--- a/jwxyz/jwxyz.h
+++ b/jwxyz/jwxyz.h
@@ -73,6 +73,8 @@ typedef struct jwxyz_XCharStruct XCharStruct;
typedef struct jwxyz_XComposeStatus XComposeStatus;
typedef struct jwxyz_XPixmapFormatValues XPixmapFormatValues;
typedef struct jwxyz_XChar2b XChar2b;
+typedef struct jwxyz_XRegion * Region;
+typedef struct jwxyz_Box Box;
typedef union jwxyz_XEvent XEvent;
typedef struct jwxyz_XAnyEvent XAnyEvent;
@@ -286,6 +288,11 @@ typedef struct jwxyz_linked_point linked_point;
// #define GXnand 0xe /* NOT src OR NOT dst */
#define GXset 0xf /* 1 */
+#define Unsorted 0
+#define YSorted 1
+#define YXSorted 2
+#define YXBanded 3
+
#define XA_FONT 18
#define DefaultScreen(dpy) (0)
@@ -827,6 +834,17 @@ struct jwxyz_XChar2b {
unsigned char byte2;
};
+/* Xregion.h */
+struct jwxyz_Box {
+ short x1, x2, y1, y2;
+};
+
+struct jwxyz_XRegion {
+ long size;
+ long numRects;
+ Box *rects;
+ Box extents;
+};
struct jwxyz_vtbl {
Window (*root) (Display *);