diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-12-20 23:34:28 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-07 14:13:40 +0100 |
commit | eec89a90ffdd077d687914fe18a9e48028f07fb4 (patch) | |
tree | 9df85c16b973f5cb6dbf081685a14c68ef8f3e72 /apps/gui/list.h | |
parent | 5d6974641b14ef81396e8deebcc65a87c07334e5 (diff) | |
download | rockbox-eec89a90ffdd077d687914fe18a9e48028f07fb4.tar.gz rockbox-eec89a90ffdd077d687914fe18a9e48028f07fb4.zip |
lists: Adapt put_line().
This enables removing large portions of code, simplifiyng the drawing routine.
All of the removed code is functionaltiy now available through put_line().
Change-Id: Ib8e61772134189a8c3c6d22345c0b45e912bea76
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r-- | apps/gui/list.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index 8980573aa3..0f2f51a424 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -100,6 +100,8 @@ struct gui_synclist | |||
100 | int start_item[NB_SCREENS]; /* the item that is displayed at the top of the screen */ | 100 | int start_item[NB_SCREENS]; /* the item that is displayed at the top of the screen */ |
101 | /* the number of lines that are selected at the same time */ | 101 | /* the number of lines that are selected at the same time */ |
102 | int selected_size; | 102 | int selected_size; |
103 | /* the number of pixels each line occupies (including optional padding on touchscreen */ | ||
104 | int line_height[NB_SCREENS]; | ||
103 | #ifdef HAVE_LCD_BITMAP | 105 | #ifdef HAVE_LCD_BITMAP |
104 | int offset_position[NB_SCREENS]; /* the list's screen scroll placement in pixels */ | 106 | int offset_position[NB_SCREENS]; /* the list's screen scroll placement in pixels */ |
105 | #endif | 107 | #endif |