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)
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);
*/
void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness);
+/*---------------------------------------------------------------------------
+ Save the current display content (b&w and grayscale overlay) to an 8-bit
+ BMP file in the root directory
+ ----------------------------------------------------------------------------
+ *
+ * This one is rather slow if used with larger bit depths, but it's intended
+ * primary use is for documenting the grayscale plugins. A much faster version
+ * would be possible, but would take more than twice the RAM
+ */
+void gray_screendump(void);
+
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Functions affecting the whole display
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++