diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-01-12 22:28:36 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-01-12 22:28:36 +1100 |
commit | eb2ea7f9ad4c4e2cce390f8fe73e17698fa9a906 (patch) | |
tree | 64cd1f227d75a5758b52d9b49ae7bdf23f6dbf83 /apps/gui/list.h | |
parent | 5ef27368f1bcbe31fb27072983d7a29df8de6845 (diff) | |
download | rockbox-eb2ea7f9ad4c4e2cce390f8fe73e17698fa9a906.tar.gz rockbox-eb2ea7f9ad4c4e2cce390f8fe73e17698fa9a906.zip |
keyclick: Add a callback so screens can cancel a click. Add a generic list callback to stop clicks when we are at the end of the list
Change-Id: Iabb44a861dd7506cd883c1bdb0241303fa646746
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r-- | apps/gui/list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index c53604659e..d9df008956 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -165,6 +165,10 @@ extern void gui_synclist_set_title(struct gui_synclist * lists, char * title, | |||
165 | enum themable_icons icon); | 165 | enum themable_icons icon); |
166 | extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists, | 166 | extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists, |
167 | bool hide); | 167 | bool hide); |
168 | |||
169 | #if CONFIG_CODEC == SWCODEC | ||
170 | extern bool gui_synclist_keyclick_callback(int action, void* data); | ||
171 | #endif | ||
168 | /* | 172 | /* |
169 | * Do the action implied by the given button, | 173 | * Do the action implied by the given button, |
170 | * returns true if the action was handled. | 174 | * returns true if the action was handled. |