summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/grey.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-04 19:14:19 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-04 19:14:19 +0000
commit3183b9e534eba4ca07ffaa68895e63177b5d8761 (patch)
tree5c4cc061f28140503d7b93d3ac1c4f9589a646d4 /apps/plugins/lib/grey.h
parent1b335ae96136951b6caf12405fd28f7d99912a45 (diff)
downloadrockbox-3183b9e534eba4ca07ffaa68895e63177b5d8761.zip
rockbox-3183b9e534eba4ca07ffaa68895e63177b5d8761.tar.gz
rockbox-3183b9e534eba4ca07ffaa68895e63177b5d8761.tar.bz2
rockbox-3183b9e534eba4ca07ffaa68895e63177b5d8761.tar.xz
Greyscale library: Put the backlight status on 1st/2nd Gen into the flags, saving a separate global.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16964 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/grey.h')
-rw-r--r--apps/plugins/lib/grey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lib/grey.h b/apps/plugins/lib/grey.h
index 3d5e6d1..3f7be44 100644
--- a/apps/plugins/lib/grey.h
+++ b/apps/plugins/lib/grey.h
@@ -130,6 +130,7 @@ void grey_ub_scroll_down(int count);
/* flag definitions */
#define _GREY_RUNNING 0x8000 /* greyscale overlay is running */
#define _GREY_DEFERRED_UPDATE 0x4000 /* lcd_update() requested */
+#define _GREY_BACKLIGHT_ON 0x2000 /* backlight is active - only used on 1st+2nd Gen */
/* fast unsigned multiplication (16x16bit->32bit or 32x32bit->32bit,
* whichever is faster for the architecture) */