diff options
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index 8ca3042a4b..d0117d7c03 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -491,6 +491,14 @@ void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items) | |||
491 | #endif | 491 | #endif |
492 | } | 492 | } |
493 | } | 493 | } |
494 | int gui_synclist_get_nb_items(struct gui_synclist * lists) | ||
495 | { | ||
496 | return gui_list_get_nb_items(&((lists)->gui_list[0])); | ||
497 | } | ||
498 | int gui_synclist_get_sel_pos(struct gui_synclist * lists) | ||
499 | { | ||
500 | return gui_list_get_sel_pos(&((lists)->gui_list[0])); | ||
501 | } | ||
494 | void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback) | 502 | void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback) |
495 | { | 503 | { |
496 | int i; | 504 | int i; |