summaryrefslogtreecommitdiff
path: root/apps/settings_list.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-08-29 09:26:41 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2023-08-29 09:26:41 -0400
commit873f49b1f066f41ef0649647188708645e6c0663 (patch)
treeec8845e8c201a018f96818189056a3ecf9c0c3b2 /apps/settings_list.h
parente60ade1fbcb0f1c5a5cd15217b32565c80b166a7 (diff)
downloadrockbox-873f49b1f066f41ef0649647188708645e6c0663.tar.gz
rockbox-873f49b1f066f41ef0649647188708645e6c0663.zip
settings_list add F_CB_ONLY_IF_CHANGED for settings
Recently I added F_CB_ON_SELECT_ONLY_IF_CHANGED in conjunction with the shuffle and repeat settings instead it makes more sense to make F_CB_ONLY_IF_CHANGED and apply to all callbacks (F_CB_ON_SELECT_ONLY or on_exit) Change-Id: I4376557d479aceb419f7b4b4e0998afc249c87ec
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r--apps/settings_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h
index 3e8739e525..3a6b0d60c2 100644
--- a/apps/settings_list.h
+++ b/apps/settings_list.h
@@ -102,7 +102,7 @@ struct table_setting {
102#define F_TABLE_SETTING 0x2000 102#define F_TABLE_SETTING 0x2000
103#define F_ALLOW_ARBITRARY_VALS 0x4000 103#define F_ALLOW_ARBITRARY_VALS 0x4000
104#define F_CB_ON_SELECT_ONLY 0x20000 104#define F_CB_ON_SELECT_ONLY 0x20000
105#define F_CB_ON_SELECT_ONLY_IF_CHANGED (F_CB_ON_SELECT_ONLY|F_TEMPVAR) 105#define F_CB_ONLY_IF_CHANGED 0x40000
106/* these use the _isfunc_type type for the function */ 106/* these use the _isfunc_type type for the function */
107/* typedef int (*_isfunc_type)(void); */ 107/* typedef int (*_isfunc_type)(void); */
108#define F_MIN_ISFUNC 0x100000 /* min(above) is function pointer to above type */ 108#define F_MIN_ISFUNC 0x100000 /* min(above) is function pointer to above type */