summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-16bit-common.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-04-30 07:41:05 +0200
committerThomas Martitz <kugel@rockbox.org>2014-01-07 14:13:48 +0100
commite1c7b3b8f72becc9079c04253a2985f577850a48 (patch)
tree84358cf14d067ab5089813d3778a96bfbaa66670 /firmware/drivers/lcd-16bit-common.c
parentdeb6ac3693a6fb5c47abd0c32f966f5e38b6a68a (diff)
downloadrockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.gz
rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.zip
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/lcd-16bit-common.c')
-rw-r--r--firmware/drivers/lcd-16bit-common.c18
1 files changed, 0 insertions, 18 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);