summaryrefslogtreecommitdiff
path: root/apps/screen_access.h
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-09-27 15:42:55 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-09-27 15:42:55 +0000
commitf3b015f73b29f2d3514c32a9b8b8f0338b52e358 (patch)
tree65e1694745947a9a7d673811d12155f3b2a03019 /apps/screen_access.h
parent5353473b723749a7cd92d72e94423b74058287dc (diff)
downloadrockbox-f3b015f73b29f2d3514c32a9b8b8f0338b52e358.tar.gz
rockbox-f3b015f73b29f2d3514c32a9b8b8f0338b52e358.zip
FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.
Add two new line selector types: solid colour and gradient. Solid colour only uses the primary colour setting. The secondary colour setting is used for the gradient. Text colour for the selected item is also changeable. These new settings are a bit controversial so they may be removed later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14868 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r--apps/screen_access.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index 05a53d5d0f..6333251d29 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -107,6 +107,11 @@ struct screen
107 void (*set_background)(unsigned background); 107 void (*set_background)(unsigned background);
108 void (*set_foreground)(unsigned foreground); 108 void (*set_foreground)(unsigned foreground);
109#endif /* (LCD_DEPTH > 1) || (LCD_REMOTE_DEPTH > 1) */ 109#endif /* (LCD_DEPTH > 1) || (LCD_REMOTE_DEPTH > 1) */
110#if defined(HAVE_LCD_COLOR)
111 void (*set_selector_start)(unsigned selector);
112 void (*set_selector_end)(unsigned selector);
113 void (*set_selector_text)(unsigned selector_text);
114#endif
110 void (*update_rect)(int x, int y, int width, int height); 115 void (*update_rect)(int x, int y, int width, int height);
111 void (*fillrect)(int x, int y, int width, int height); 116 void (*fillrect)(int x, int y, int width, int height);
112 void (*drawrect)(int x, int y, int width, int height); 117 void (*drawrect)(int x, int y, int width, int height);