From e1c7b3b8f72becc9079c04253a2985f577850a48 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 30 Apr 2013 07:41:05 +0200 Subject: lcd-16bit: Remove {lss,lse,lst}_pattern fields from struct viewport. These where used for line styling during scrolling, which is now done in apps/, The viewport struct doesn't need to record these anymore. Change-Id: I810d9dcb2644b00a798c6e75acab69c74a78e77f --- firmware/drivers/lcd-16bit-common.c | 18 ------------------ firmware/export/lcd.h | 5 ----- 2 files changed, 23 deletions(-) (limited to 'firmware') 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 = .drawmode = DRMODE_SOLID, .fg_pattern = LCD_DEFAULT_FG, .bg_pattern = LCD_DEFAULT_BG, - .lss_pattern = LCD_DEFAULT_BG, - .lse_pattern = LCD_DEFAULT_BG, - .lst_pattern = LCD_DEFAULT_BG, }; static struct viewport* current_vp IDATA_ATTR = &default_vp; @@ -181,21 +178,6 @@ unsigned lcd_get_background(void) return current_vp->bg_pattern; } -void lcd_set_selector_start(unsigned color) -{ - current_vp->lss_pattern = color; -} - -void lcd_set_selector_end(unsigned color) -{ - current_vp->lse_pattern = color; -} - -void lcd_set_selector_text(unsigned color) -{ - current_vp->lst_pattern = color; -} - void lcd_set_drawinfo(int mode, unsigned fg_color, unsigned bg_color) { 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 { #if LCD_DEPTH > 1 unsigned fg_pattern; unsigned bg_pattern; -#ifdef HAVE_LCD_COLOR - unsigned lss_pattern; - unsigned lse_pattern; - unsigned lst_pattern; -#endif #endif }; -- cgit v1.2.3