summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-11-30 12:27:52 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-12-04 11:19:57 -0500
commit1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387 (patch)
tree5be985909f1c985f6f433d8934c92ad91f6aa0d4 /apps/gui/option_select.h
parent4ff97ae07c9b7beed4c8c9bf965e2ba679d05a20 (diff)
downloadrockbox-1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387.tar.gz
rockbox-1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387.zip
skin engine: Settings ID to pointer conversions
Convert %St tag to operate on settings pointers instead of IDs. Change-Id: Iabf4c280be82b495a64b560b59620fb477e0c738
Diffstat (limited to 'apps/gui/option_select.h')
-rw-r--r--apps/gui/option_select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/option_select.h b/apps/gui/option_select.h
index 104e86f64d..eabe5825e7 100644
--- a/apps/gui/option_select.h
+++ b/apps/gui/option_select.h
@@ -46,9 +46,9 @@ void option_talk_value(const struct settings_list *setting, int value, bool enqu
46/* only use this for int and bool settings */ 46/* only use this for int and bool settings */
47int option_value_as_int(const struct settings_list *setting); 47int option_value_as_int(const struct settings_list *setting);
48 48
49int get_setting_info_for_bar(int setting_id, int *count, int *val); 49int get_setting_info_for_bar(const struct settings_list *setting, int *count, int *val);
50#ifdef HAVE_TOUCHSCREEN 50#ifdef HAVE_TOUCHSCREEN
51void update_setting_value_from_touch(int setting_id, int selection); 51void update_setting_value_from_touch(const struct settings_list *setting, int selection);
52#endif 52#endif
53 53
54#endif /* _GUI_OPTION_SELECT_H_ */ 54#endif /* _GUI_OPTION_SELECT_H_ */