diff options
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r-- | apps/gui/list.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index 447e0d832d..8d3ac9ad4c 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -170,6 +170,8 @@ struct gui_list | |||
170 | void * data; | 170 | void * data; |
171 | /* The optional title, set to NULL for none */ | 171 | /* The optional title, set to NULL for none */ |
172 | char *title; | 172 | char *title; |
173 | /* Cache the width of the title string in pixels/characters */ | ||
174 | int title_width; | ||
173 | }; | 175 | }; |
174 | 176 | ||
175 | /* | 177 | /* |
@@ -337,7 +339,7 @@ extern void gui_list_flash(struct gui_list * gui_list); | |||
337 | /* | 339 | /* |
338 | * Set the title of the list, setting to NULL disables the title | 340 | * Set the title of the list, setting to NULL disables the title |
339 | */ | 341 | */ |
340 | extern void gui_list_set_title(struct gui_list *gui_list , char* title); | 342 | extern void gui_list_set_title(struct gui_list *gui_list, char* title); |
341 | /* | 343 | /* |
342 | * This part handles as many lists as there are connected screens | 344 | * This part handles as many lists as there are connected screens |
343 | * (the api is similar to the ones above) | 345 | * (the api is similar to the ones above) |