diff options
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r-- | apps/gui/list.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index 9107bf0591..f860e27bf9 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -102,9 +102,7 @@ struct gui_synclist | |||
102 | int selected_size; | 102 | int selected_size; |
103 | /* the number of pixels each line occupies (including optional padding on touchscreen */ | 103 | /* the number of pixels each line occupies (including optional padding on touchscreen */ |
104 | int line_height[NB_SCREENS]; | 104 | int line_height[NB_SCREENS]; |
105 | #ifdef HAVE_LCD_BITMAP | ||
106 | int offset_position[NB_SCREENS]; /* the list's screen scroll placement in pixels */ | 105 | int offset_position[NB_SCREENS]; /* the list's screen scroll placement in pixels */ |
107 | #endif | ||
108 | long scheduled_talk_tick, last_talked_tick, dirty_tick; | 106 | long scheduled_talk_tick, last_talked_tick, dirty_tick; |
109 | 107 | ||
110 | list_get_icon *callback_get_item_icon; | 108 | list_get_icon *callback_get_item_icon; |
@@ -127,14 +125,12 @@ struct gui_synclist | |||
127 | }; | 125 | }; |
128 | 126 | ||
129 | 127 | ||
130 | #ifdef HAVE_LCD_BITMAP | ||
131 | extern void list_init(void); | 128 | extern void list_init(void); |
132 | /* parse global setting to static int */ | 129 | /* parse global setting to static int */ |
133 | extern void gui_list_screen_scroll_step(int ofs); | 130 | extern void gui_list_screen_scroll_step(int ofs); |
134 | 131 | ||
135 | /* parse global setting to static bool */ | 132 | /* parse global setting to static bool */ |
136 | extern void gui_list_screen_scroll_out_of_view(bool enable); | 133 | extern void gui_list_screen_scroll_out_of_view(bool enable); |
137 | #endif /* HAVE_LCD_BITMAP */ | ||
138 | 134 | ||
139 | extern void gui_synclist_init( | 135 | extern void gui_synclist_init( |
140 | struct gui_synclist * lists, | 136 | struct gui_synclist * lists, |
@@ -179,7 +175,7 @@ extern bool gui_synclist_keyclick_callback(int action, void* data); | |||
179 | extern bool gui_synclist_do_button(struct gui_synclist * lists, | 175 | extern bool gui_synclist_do_button(struct gui_synclist * lists, |
180 | int *action, | 176 | int *action, |
181 | enum list_wrap); | 177 | enum list_wrap); |
182 | #if defined(HAVE_LCD_BITMAP) && !defined(PLUGIN) | 178 | #if !defined(PLUGIN) |
183 | struct listitem_viewport_cfg { | 179 | struct listitem_viewport_cfg { |
184 | struct wps_data *data; | 180 | struct wps_data *data; |
185 | OFFSETTYPE(char *) label; | 181 | OFFSETTYPE(char *) label; |
@@ -204,7 +200,7 @@ enum themable_icons skinlist_get_item_icon(int offset, bool wrap); | |||
204 | bool skinlist_needs_scrollbar(enum screen_type screen); | 200 | bool skinlist_needs_scrollbar(enum screen_type screen); |
205 | void skinlist_get_scrollbar(int* nb_item, int* first_shown, int* last_shown); | 201 | void skinlist_get_scrollbar(int* nb_item, int* first_shown, int* last_shown); |
206 | int skinlist_get_line_count(enum screen_type screen, struct gui_synclist *list); | 202 | int skinlist_get_line_count(enum screen_type screen, struct gui_synclist *list); |
207 | #endif | 203 | #endif /* !PLUGIN) */ |
208 | 204 | ||
209 | #if defined(HAVE_TOUCHSCREEN) | 205 | #if defined(HAVE_TOUCHSCREEN) |
210 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ | 206 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ |