summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-20 23:34:28 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-07 14:13:40 +0100
commiteec89a90ffdd077d687914fe18a9e48028f07fb4 (patch)
tree9df85c16b973f5cb6dbf081685a14c68ef8f3e72 /apps/gui/list.h
parent5d6974641b14ef81396e8deebcc65a87c07334e5 (diff)
downloadrockbox-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.h2
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
int start_item[NB_SCREENS]; /* the item that is displayed at the top of the screen */
/* the number of lines that are selected at the same time */
int selected_size;
+ /* the number of pixels each line occupies (including optional padding on touchscreen */
+ int line_height[NB_SCREENS];
#ifdef HAVE_LCD_BITMAP
int offset_position[NB_SCREENS]; /* the list's screen scroll placement in pixels */
#endif