summaryrefslogtreecommitdiffstats
path: root/core/pref.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-22 16:09:31 -0700
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-25 15:58:17 +0200
commit617019bc6b9e5bebba1cb96b1ed039befa8470ff (patch)
tree335bf32c030ba7f6394aa298ff8c5410f1e6e426 /core/pref.h
parent38307a5b3c7bfd798815d18d7b2b982075ec8e12 (diff)
downloadsubsurface-617019bc6b9e5bebba1cb96b1ed039befa8470ff.tar.gz
qPref: add mobile_scale preference
We use that in the mobile app to scale the whole app, as all sizes there are relative to the default font. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/pref.h')
-rw-r--r--core/pref.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h
index b36c46091..2e11efbe4 100644
--- a/core/pref.h
+++ b/core/pref.h
@@ -108,6 +108,7 @@ struct preferences {
bool display_invalid_dives;
const char *divelist_font;
double font_size;
+ double mobile_scale;
bool show_developer;
// ********** Facebook **********