diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-07-06 23:11:02 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-07-06 23:11:02 +0000 |
commit | d073326b6b16698efc8e897269826449cfc40699 (patch) | |
tree | f3fb4d6f8dadcd0afcb61b776e8439a1425d62c5 /apps/plugins/lib/gray.h | |
parent | ccba5553f77eddfc2d28dcbdb0184adc0c08f995 (diff) | |
download | rockbox-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.h | 11 |
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 | */ |
182 | void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness); | 182 | void 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 | */ | ||
193 | void gray_screendump(void); | ||
194 | |||
184 | /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 195 | /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
185 | Functions affecting the whole display | 196 | Functions affecting the whole display |
186 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 197 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |