diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2013-04-30 07:41:05 +0200 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-07 14:13:48 +0100 |
| commit | e1c7b3b8f72becc9079c04253a2985f577850a48 (patch) | |
| tree | 84358cf14d067ab5089813d3778a96bfbaa66670 /firmware/drivers | |
| parent | deb6ac3693a6fb5c47abd0c32f966f5e38b6a68a (diff) | |
| download | rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.zip rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.gz rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.bz2 rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.xz | |
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
Diffstat (limited to 'firmware/drivers')
| -rw-r--r-- | firmware/drivers/lcd-16bit-common.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/drivers/lcd-16bit-common.c b/firmware/drivers/lcd-16bit-common.c index 9d36499..93e7c2e 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); |