diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 11:52:30 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-05 11:22:34 -0400 |
commit | ff378deb69951a53b866f3d3c6ee13022e520436 (patch) | |
tree | 4e608fc9004d225b1121e3545642ab56186d0c0a /apps/plugin.h | |
parent | ead172c05d57568d201709c5fac77cbb8982bbd0 (diff) | |
download | rockbox-ff378deb69951a53b866f3d3c6ee13022e520436.tar.gz rockbox-ff378deb69951a53b866f3d3c6ee13022e520436.zip |
gui: Remove gui_synclist_limit_scroll()
Since gui_synclist_do_button() overrides the setting at runtime
there is no reason to have a public API call to set it. Really
it should be a local variable, but it will be simpler to do that
after refactoring how list wraparound behavior is handled.
Change-Id: Id09d42197814102693752a9f64db8325118ca796
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 686dd48674..6bbad26489 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -157,12 +157,12 @@ int plugin_open(const char *plugin, const char *parameter); | |||
157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
158 | 158 | ||
159 | /* increase this every time the api struct changes */ | 159 | /* increase this every time the api struct changes */ |
160 | #define PLUGIN_API_VERSION 252 | 160 | #define PLUGIN_API_VERSION 253 |
161 | 161 | ||
162 | /* update this to latest version if a change to the api struct breaks | 162 | /* update this to latest version if a change to the api struct breaks |
163 | backwards compatibility (and please take the opportunity to sort in any | 163 | backwards compatibility (and please take the opportunity to sort in any |
164 | new function which are "waiting" at the end of the function table) */ | 164 | new function which are "waiting" at the end of the function table) */ |
165 | #define PLUGIN_MIN_API_VERSION 252 | 165 | #define PLUGIN_MIN_API_VERSION 253 |
166 | 166 | ||
167 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ | 167 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ |
168 | 168 | ||
@@ -373,7 +373,6 @@ struct plugin_api { | |||
373 | int item_number); | 373 | int item_number); |
374 | void (*gui_synclist_add_item)(struct gui_synclist * lists); | 374 | void (*gui_synclist_add_item)(struct gui_synclist * lists); |
375 | void (*gui_synclist_del_item)(struct gui_synclist * lists); | 375 | void (*gui_synclist_del_item)(struct gui_synclist * lists); |
376 | void (*gui_synclist_limit_scroll)(struct gui_synclist * lists, bool scroll); | ||
377 | bool (*gui_synclist_do_button)(struct gui_synclist * lists, | 376 | bool (*gui_synclist_do_button)(struct gui_synclist * lists, |
378 | int *action, enum list_wrap wrap); | 377 | int *action, enum list_wrap wrap); |
379 | void (*gui_synclist_set_title)(struct gui_synclist *lists, const char* title, | 378 | void (*gui_synclist_set_title)(struct gui_synclist *lists, const char* title, |