diff options
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r-- | apps/gui/list.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index d0bc59b7bc..1046492b0d 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -218,16 +218,11 @@ extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists, | |||
218 | bool hide); | 218 | bool hide); |
219 | /* | 219 | /* |
220 | * Do the action implied by the given button, | 220 | * Do the action implied by the given button, |
221 | * returns the action taken if any, 0 else | 221 | * returns true if the action was handled. |
222 | * - lists : the synchronized lists | 222 | * NOTE: *action may be changed regardless of return value |
223 | * - button : the keycode of a pressed button | ||
224 | * - specifies weather to allow the list to wrap or not, values at top of page | ||
225 | * returned value : | ||
226 | * - ACTION_STD_NEXT when moving forward (next item or pgup) | ||
227 | * - ACTION_STD_PREV when moving backward (previous item or pgdown) | ||
228 | */ | 223 | */ |
229 | extern unsigned gui_synclist_do_button(struct gui_synclist * lists, | 224 | extern bool gui_synclist_do_button(struct gui_synclist * lists, |
230 | unsigned button, | 225 | unsigned *action, |
231 | enum list_wrap); | 226 | enum list_wrap); |
232 | 227 | ||
233 | #endif /* _GUI_LIST_H_ */ | 228 | #endif /* _GUI_LIST_H_ */ |