summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index b4a8fde56e..d3b891c790 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -54,6 +54,8 @@ struct user_settings
54 54
55 int loop_playlist; /* do we return to top of playlist at end? */ 55 int loop_playlist; /* do we return to top of playlist at end? */
56 bool mp3filter; 56 bool mp3filter;
57 int scroll_speed;
58 bool playlist_shuffle;
57 59
58 /* while playing screen settings */ 60 /* while playing screen settings */
59 int wps_display; 61 int wps_display;
@@ -67,6 +69,16 @@ void reload_all_settings( struct user_settings *settings );
67void reset_settings( struct user_settings *settings ); 69void reset_settings( struct user_settings *settings );
68void display_current_settings( struct user_settings *settings ); 70void display_current_settings( struct user_settings *settings );
69 71
72void set_bool(char* string, bool* variable );
73void set_option(char* string, int* variable, char* options[], int numoptions );
74void set_int(char* string,
75 char* unit,
76 int* variable,
77 void (*function)(int),
78 int step,
79 int min,
80 int max );
81
70/* global settings */ 82/* global settings */
71extern struct user_settings global_settings; 83extern struct user_settings global_settings;
72 84