From a17a7038c265d3bd6b5399f77c4caa4edfc67df7 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 28 Dec 2013 14:27:18 +0100 Subject: 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 --- firmware/export/lcd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/export') 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); -- cgit v1.2.3