forked from len0rd/rockbox
plugins: clock: simplify settings
- Use system time format and remove separate setting - Hide timer until started & eliminate setting for it - Simplify menu, reorder settings, keep theme enabled - Make dialog for resetting settings more consistent with other reset dialogs Change-Id: I0fd38612b0592cd5a650c8985f377acc70a48eb7
This commit is contained in:
parent
ab161a3d89
commit
8d4efb6cf2
6 changed files with 60 additions and 95 deletions
|
@ -30,11 +30,6 @@ enum date_format{
|
|||
JAPANESE,
|
||||
};
|
||||
|
||||
enum hour_format{
|
||||
H24,
|
||||
H12
|
||||
};
|
||||
|
||||
enum clock_modes{
|
||||
ANALOG,
|
||||
DIGITAL,
|
||||
|
@ -50,9 +45,7 @@ enum backlight_handling{
|
|||
|
||||
|
||||
struct general_settings{
|
||||
int hour_format;/* 0:24h, 1:12h*/
|
||||
int date_format;
|
||||
bool show_counter;
|
||||
bool save_settings;
|
||||
bool idle_poweroff;
|
||||
int backlight;
|
||||
|
@ -78,6 +71,7 @@ struct clock_settings{
|
|||
};
|
||||
|
||||
extern struct clock_settings clock_settings;
|
||||
extern bool show_counter;
|
||||
|
||||
/* settings are saved to this location */
|
||||
#define settings_filename PLUGIN_APPS_DIR "/.clock_settings"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue