summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
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/subsurfacestartup.c
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/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index 42e9aef7b..263845671 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -42,6 +42,7 @@ struct preferences default_prefs = {
.show_ccr_sensors = false,
.show_scr_ocpo2 = false,
.font_size = -1,
+ .mobile_scale = 1.0,
.display_invalid_dives = false,
.show_sac = false,
.display_unused_tanks = false,