diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /jwxyz/jwxyz.h | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip |
Diffstat (limited to 'jwxyz/jwxyz.h')
-rw-r--r-- | jwxyz/jwxyz.h | 18 |
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 *); |