1
0
Fork 0
forked from len0rd/rockbox

Added screen dump function to the grayscale lib

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4843 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-07-06 23:11:02 +00:00
parent ccba5553f7
commit d073326b6b
2 changed files with 152 additions and 0 deletions

View file

@ -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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++