summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-16bit-common.c18
-rw-r--r--firmware/export/lcd.h5
2 files changed, 0 insertions, 23 deletions
diff --git a/firmware/drivers/lcd-16bit-common.c b/firmware/drivers/lcd-16bit-common.c
index 9d36499418..93e7c2e012 100644
--- a/firmware/drivers/lcd-16bit-common.c
+++ b/firmware/drivers/lcd-16bit-common.c
@@ -52,9 +52,6 @@ static struct viewport default_vp =
52 .drawmode = DRMODE_SOLID, 52 .drawmode = DRMODE_SOLID,
53 .fg_pattern = LCD_DEFAULT_FG, 53 .fg_pattern = LCD_DEFAULT_FG,
54 .bg_pattern = LCD_DEFAULT_BG, 54 .bg_pattern = LCD_DEFAULT_BG,
55 .lss_pattern = LCD_DEFAULT_BG,
56 .lse_pattern = LCD_DEFAULT_BG,
57 .lst_pattern = LCD_DEFAULT_BG,
58}; 55};
59 56
60static struct viewport* current_vp IDATA_ATTR = &default_vp; 57static struct viewport* current_vp IDATA_ATTR = &default_vp;
@@ -181,21 +178,6 @@ unsigned lcd_get_background(void)
181 return current_vp->bg_pattern; 178 return current_vp->bg_pattern;
182} 179}
183 180
184void lcd_set_selector_start(unsigned color)
185{
186 current_vp->lss_pattern = color;
187}
188
189void lcd_set_selector_end(unsigned color)
190{
191 current_vp->lse_pattern = color;
192}
193
194void lcd_set_selector_text(unsigned color)
195{
196 current_vp->lst_pattern = color;
197}
198
199void lcd_set_drawinfo(int mode, unsigned fg_color, unsigned bg_color) 181void lcd_set_drawinfo(int mode, unsigned fg_color, unsigned bg_color)
200{ 182{
201 lcd_set_drawmode(mode); 183 lcd_set_drawmode(mode);
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index e7a75e893a..9efec9da4d 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -48,11 +48,6 @@ struct viewport {
48#if LCD_DEPTH > 1 48#if LCD_DEPTH > 1
49 unsigned fg_pattern; 49 unsigned fg_pattern;
50 unsigned bg_pattern; 50 unsigned bg_pattern;
51#ifdef HAVE_LCD_COLOR
52 unsigned lss_pattern;
53 unsigned lse_pattern;
54 unsigned lst_pattern;
55#endif
56#endif 51#endif
57}; 52};
58 53