diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2006-12-14 14:46:03 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2006-12-14 14:46:03 -0500 |
commit | 60cdc592fe042c03ceb5d4c3344acfbbf5d8ae28 (patch) | |
tree | 5e2cb1015f7e27377407136d66320bae8f84d1b5 /include/pixmap.h | |
parent | 6c46645cfc1afda8aeabfe0ed4d9342673b702f1 (diff) |
Add new, combined dix lookup functions.
Diffstat (limited to 'include/pixmap.h')
-rw-r--r-- | include/pixmap.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/pixmap.h b/include/pixmap.h index 3276fadb6..19e682a50 100644 --- a/include/pixmap.h +++ b/include/pixmap.h @@ -58,6 +58,16 @@ SOFTWARE. #define UNDRAWABLE_WINDOW 2 #define DRAWABLE_BUFFER 3 +/* corresponding type masks for dixLookupDrawable() */ +#define M_DRAWABLE_WINDOW (1<<0) +#define M_DRAWABLE_PIXMAP (1<<1) +#define M_UNDRAWABLE_WINDOW (1<<2) +#define M_DRAWABLE_BUFFER (1<<3) +#define M_ANY (-1) +#define M_WINDOW (M_DRAWABLE_WINDOW|M_UNDRAWABLE_WINDOW) +#define M_DRAWABLE (M_DRAWABLE_WINDOW|M_DRAWABLE_PIXMAP|M_DRAWABLE_BUFFER) +#define M_UNDRAWABLE (M_UNDRAWABLE_WINDOW) + /* flags to PaintWindow() */ #define PW_BACKGROUND 0 #define PW_BORDER 1 |