summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/gray.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-07-06 23:11:02 +0000
committerJens Arnold <amiconn@rockbox.org>2004-07-06 23:11:02 +0000
commitd073326b6b16698efc8e897269826449cfc40699 (patch)
treef3fb4d6f8dadcd0afcb61b776e8439a1425d62c5 /apps/plugins/lib/gray.h
parentccba5553f77eddfc2d28dcbdb0184adc0c08f995 (diff)
downloadrockbox-d073326b6b16698efc8e897269826449cfc40699.tar.gz
rockbox-d073326b6b16698efc8e897269826449cfc40699.zip
Added screen dump function to the grayscale lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4843 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/gray.h')
-rw-r--r--apps/plugins/lib/gray.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/lib/gray.h b/apps/plugins/lib/gray.h
index 918d7ecb4a..c8a9afc390 100644
--- a/apps/plugins/lib/gray.h
+++ b/apps/plugins/lib/gray.h
@@ -181,6 +181,17 @@ void gray_set_background(int brightness);
181 */ 181 */
182void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness); 182void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness);
183 183
184/*---------------------------------------------------------------------------
185 Save the current display content (b&w and grayscale overlay) to an 8-bit
186 BMP file in the root directory
187 ----------------------------------------------------------------------------
188 *
189 * This one is rather slow if used with larger bit depths, but it's intended
190 * primary use is for documenting the grayscale plugins. A much faster version
191 * would be possible, but would take more than twice the RAM
192 */
193void gray_screendump(void);
194
184/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 195/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
185 Functions affecting the whole display 196 Functions affecting the whole display
186 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 197 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++