diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-02 15:29:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-02 15:29:03 +0200 |
commit | 851116d818ddd01d5935c1bba10fe4900771d980 (patch) | |
tree | ecdf4ba5e63cc0ee854e11223f80b87cfa2c14a0 /opentrack/main-settings.hpp | |
parent | 4117f4c65ef98a0dab2381e6ef6a969fb1be5f14 (diff) |
main: add relative and absolute center options
Closes #237
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r-- | opentrack/main-settings.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp index b973e7af..d1fe574d 100644 --- a/opentrack/main-settings.hpp +++ b/opentrack/main-settings.hpp @@ -39,6 +39,7 @@ struct main_settings : opts { value<bool> tray_enabled; value<int> camera_yaw, camera_pitch, camera_roll; value<bool> center_at_startup; + value<int> center_method; main_settings() : opts("opentrack-ui"), tracker_dll(b, "tracker-dll", ""), @@ -56,6 +57,7 @@ struct main_settings : opts { 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) + center_at_startup(b, "center-at-startup", true), + center_method(b, "centering-method", false) {} }; |