summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-31 11:51:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-31 11:51:41 +0200
commit24128cad6973583f5ff26ff8853281a2ff752514 (patch)
tree80eaabeffda3cb20e8eb3d22c31746322ebd9519 /opentrack/main-settings.hpp
parentf414b6d4e003532ec65eacf6052c2c888b892906 (diff)
ui: introduce options dialog
Move the non-mapping contents of mapping dialog to new options dialog. The latter now also contains what used to be in the shortcuts dialog.
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r--opentrack/main-settings.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index 27f9ee06..c9b73675 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -27,7 +27,7 @@ struct main_settings : opts {
axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll;
value<bool> tcomp_p, tcomp_tz;
value<bool> tray_enabled;
- value<int> camera_yaw, camera_pitch;
+ value<int> camera_yaw, camera_pitch, camera_roll;
value<bool> center_at_startup;
main_settings() :
opts("opentrack-ui"),
@@ -46,6 +46,7 @@ struct main_settings : opts {
tray_enabled(b, "use-system-tray", false),
camera_yaw(b, "camera-yaw", 0),
camera_pitch(b, "camera-pitch", 0),
+ camera_roll(b, "camera-roll", 0),
center_at_startup(b, "center-at-startup", true)
{}
};