diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-10-22 10:09:23 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-10-22 10:09:23 +0000 |
commit | 5c509d17db86e889560e7d938b5a7acf083948e2 (patch) | |
tree | af7cfcd615d2b48cda55ffecf975a384ed3e5610 /apps/gui/list.h | |
parent | 09d0b6fec4988677b3bb4f73a13dd4fa961c3f5a (diff) | |
download | rockbox-5c509d17db86e889560e7d938b5a7acf083948e2.tar.gz rockbox-5c509d17db86e889560e7d938b5a7acf083948e2.zip |
Fix buttonbar and line padding in time&date screen.
The time&date screen uses a custom parent for do_menu(), and doesn't
account for the buttonbar and list line height. Introduce
gui_synclist_set_viewport_defaults() to set those for viewports that are
going to be list parents and use that so that time&date screen doesn't need
to know about buttonbar/line padding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30824 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r-- | apps/gui/list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index 636d36c318..1a713daa36 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -145,6 +145,7 @@ extern void gui_synclist_init( | |||
145 | extern void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items); | 145 | extern void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items); |
146 | extern void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback); | 146 | extern void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback); |
147 | extern void gui_synclist_set_voice_callback(struct gui_synclist * lists, list_speak_item voice_callback); | 147 | extern void gui_synclist_set_voice_callback(struct gui_synclist * lists, list_speak_item voice_callback); |
148 | extern void gui_synclist_set_viewport_defaults(struct viewport *vp, enum screen_type screen); | ||
148 | #ifdef HAVE_LCD_COLOR | 149 | #ifdef HAVE_LCD_COLOR |
149 | extern void gui_synclist_set_color_callback(struct gui_synclist * lists, list_get_color color_callback); | 150 | extern void gui_synclist_set_color_callback(struct gui_synclist * lists, list_get_color color_callback); |
150 | #endif | 151 | #endif |