diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-03-25 14:21:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-03-25 14:21:30 +0000 |
commit | 9f6733fcc802d3b0a3f64ff5f2745c83534d68ad (patch) | |
tree | 43c739f8a8c3c6239bcea018cd189b7e3ffbe2eb /uisimulator/grabscreen.h | |
parent | 2daf14965c39bc911793520a90027797ad92df74 (diff) | |
download | rockbox-9f6733fcc802d3b0a3f64ff5f2745c83534d68ad.tar.gz rockbox-9f6733fcc802d3b0a3f64ff5f2745c83534d68ad.zip |
Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/grabscreen.h')
-rw-r--r-- | uisimulator/grabscreen.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/uisimulator/grabscreen.h b/uisimulator/grabscreen.h new file mode 100644 index 0000000000..6d2503a1fc --- /dev/null +++ b/uisimulator/grabscreen.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* xscreensaver, Copyright (c) 1992, 1993, 1994, 1997 | ||
2 | * Jamie Zawinski <jwz@jwz.org> | ||
3 | * | ||
4 | * Permission to use, copy, modify, distribute, and sell this software and its | ||
5 | * documentation for any purpose is hereby granted without fee, provided that | ||
6 | * the above copyright notice appear in all copies and that both that | ||
7 | * copyright notice and this permission notice appear in supporting | ||
8 | * documentation. No representations are made about the suitability of this | ||
9 | * software for any purpose. It is provided "as is" without express or | ||
10 | * implied warranty. | ||
11 | */ | ||
12 | |||
13 | #ifndef __GRABSCREEN_H__ | ||
14 | #define __GRABSCREEN_H__ | ||
15 | |||
16 | /* This will write a snapshot of the screen image into the given window. | ||
17 | Beware that the colormap of the window may also be changed (to match | ||
18 | the bits that were drawn.) | ||
19 | */ | ||
20 | extern void grab_screen_image (Screen *, Window); | ||
21 | |||
22 | /* Whether one should use GCSubwindowMode when drawing on this window | ||
23 | (assuming a screen image has been grabbed onto it.) Yes, this is a | ||
24 | total kludge. */ | ||
25 | extern Bool use_subwindow_mode_p(Screen *screen, Window window); | ||
26 | |||
27 | #endif /* __GRABSCREEN_H__ */ | ||