summaryrefslogtreecommitdiffstats
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-28 14:27:18 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-05 19:35:23 +0100
commita17a7038c265d3bd6b5399f77c4caa4edfc67df7 (patch)
tree9adf8a2713a24b7bba68fe5a0cd5de3ed9204471 /firmware/export/lcd.h
parent17a1867c9ca8f22c5e2f2bb6b8228cad273527a9 (diff)
downloadrockbox-a17a7038c265d3bd6b5399f77c4caa4edfc67df7.tar.gz
rockbox-a17a7038c265d3bd6b5399f77c4caa4edfc67df7.zip
lcd: Fix certain drawmode combinations.
Some seldomly used drawmode combinations did not work in conjunction with alpha bitmaps and backdrops. Now all should work (see comment added) by using more bits. Change-Id: I2bc96ecf471fa8c1a608a321a235b9c8527b3dc5
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index f6b32a37ee..7842ce59f2 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -287,7 +287,8 @@ extern void lcd_jump_scroll_delay(int ms);
#define DRMODE_SOLID 3
#define DRMODE_INVERSEVID 4 /* used as bit modifier for basic modes */
/* Internal drawmode modifiers. DO NOT use with set_drawmode() */
-#define DRMODE_INT_MOD 8
+#define DRMODE_INT_BD 8
+#define DRMODE_INT_IMG 16
/* Low-level drawing function types */
typedef void lcd_pixelfunc_type(int x, int y);