summaryrefslogtreecommitdiffstats
path: root/core/pref.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-04 14:29:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-04 14:51:55 -0800
commitbe3190db8a14fc51d88c65f5359b9b7787acd2a7 (patch)
tree6ddd57c9aca8e57b669d3627ea38caba3187ed80 /core/pref.h
parent6201ac34b412eb57e0ca03401da22ed9ae683c38 (diff)
downloadsubsurface-be3190db8a14fc51d88c65f5359b9b7787acd2a7.tar.gz
revert preference settings for title color
Because of subsequent changes there is no clean way to just revert the changes introduced in commit 8b36cf1051 ("desktop: offer different colors for info tab titles"), so this manually removes the parts we don't need anymore. This also restores a tooltip value that was inadvertantly removed in that commit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/pref.h')
-rw-r--r--core/pref.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/core/pref.h b/core/pref.h
index b6490f540..f670c9135 100644
--- a/core/pref.h
+++ b/core/pref.h
@@ -66,12 +66,6 @@ enum unit_system_values {
PERSONALIZE
};
-enum headerstyle_color_values {
- MEDIUMBLUE,
- LIGHTBLUE,
- BLACK
-};
-
// ********** PREFERENCES **********
// This struct is kept global for all of ssrf
// most of the fields are loaded from git as
@@ -106,12 +100,11 @@ struct preferences {
dive_computer_prefs_t dive_computer4;
// ********** Display *************
- bool display_invalid_dives;
- const char *divelist_font;
- double font_size;
- double mobile_scale;
- bool show_developer;
- enum headerstyle_color_values headerstyle_color;
+ bool display_invalid_dives;
+ const char *divelist_font;
+ double font_size;
+ double mobile_scale;
+ bool show_developer;
// ********** Equipment tab *******
const char *default_cylinder;