From 5334c76b834cf7effa21849fff1b0c57cdedb62a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 16 Sep 2016 22:29:33 +0200 Subject: gui, logic: add separate option for starting in tray vs tray enabled Suggested-by: @MathijsG, #454 --- logic/main-settings.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'logic') diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp index 7c02b262..346c3fb2 100644 --- a/logic/main-settings.hpp +++ b/logic/main-settings.hpp @@ -68,7 +68,7 @@ struct main_settings bundle b, b_map; axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll; value tcomp_p, tcomp_tz; - value tray_enabled; + value tray_enabled, tray_start; value camera_yaw, camera_pitch, camera_roll; value use_camera_offset_from_centering; value center_at_startup; @@ -91,6 +91,7 @@ struct main_settings tcomp_p(b, "compensate-translation", true), tcomp_tz(b, "compensate-translation-disable-z-axis", false), tray_enabled(b, "use-system-tray", false), + tray_start(b, "start-in-tray", false), camera_yaw(b, "camera-yaw", 0), camera_pitch(b, "camera-pitch", 0), camera_roll(b, "camera-roll", 0), -- cgit v1.2.3