diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-27 23:48:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-27 23:48:49 +0000 |
commit | 3caa3c08717ad745b49da01bf70a4c0da195ac14 (patch) | |
tree | 486f9d59673e537cd100957c8748b351e0a64ce4 /uisimulator/x11/visual.h | |
parent | c1543511b342162b2b537485c6646186037d8845 (diff) | |
download | rockbox-3caa3c08717ad745b49da01bf70a4c0da195ac14.tar.gz rockbox-3caa3c08717ad745b49da01bf70a4c0da195ac14.zip |
moved X11-specific files into a separate subdir to keep root clean for
target files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@282 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/visual.h')
-rw-r--r-- | uisimulator/x11/visual.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/uisimulator/x11/visual.h b/uisimulator/x11/visual.h new file mode 100644 index 0000000000..dd45708ea0 --- /dev/null +++ b/uisimulator/x11/visual.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* xscreensaver, Copyright (c) 1993-1999 by Jamie Zawinski <jwz@jwz.org> | ||
2 | * | ||
3 | * Permission to use, copy, modify, distribute, and sell this software and its | ||
4 | * documentation for any purpose is hereby granted without fee, provided that | ||
5 | * the above copyright notice appear in all copies and that both that | ||
6 | * copyright notice and this permission notice appear in supporting | ||
7 | * documentation. No representations are made about the suitability of this | ||
8 | * software for any purpose. It is provided "as is" without express or | ||
9 | * implied warranty. | ||
10 | */ | ||
11 | |||
12 | #ifndef __VISUAL_H__ | ||
13 | #define __VISUAL_H__ | ||
14 | |||
15 | extern Visual *get_visual (Screen *, const char *name, Bool, Bool); | ||
16 | extern Visual *get_visual_resource (Screen *, char *, char *, Bool); | ||
17 | extern int visual_depth (Screen *, Visual *); | ||
18 | /* extern int visual_pixmap_depth (Screen *, Visual *); */ | ||
19 | extern int visual_class (Screen *, Visual *); | ||
20 | extern int visual_cells (Screen *, Visual *); | ||
21 | extern int screen_number (Screen *); | ||
22 | extern Visual *find_similar_visual (Screen *, Visual *old); | ||
23 | extern void describe_visual (FILE *f, Screen *, Visual *, Bool private_cmap_p); | ||
24 | extern Visual *get_overlay_visual (Screen *, unsigned long *pixel_return); | ||
25 | extern Bool has_writable_cells (Screen *screen, Visual *visual); | ||
26 | |||
27 | Visual *get_gl_visual (Screen *screen); | ||
28 | |||
29 | #endif /* __VISUAL_H__ */ | ||