diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-18 20:05:11 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-18 20:05:11 +0100 |
commit | 93a1bfcdd795b436cb41d419a1aa8064b9f2987d (patch) | |
tree | 7ca2f5ab153a5ee72b6ff7ba30df3c6d00bef466 /tracker-rift-080 | |
parent | d26048617d78396cc6381eaf06f19fee484d811c (diff) |
gui, modules: add more translatable strings
Diffstat (limited to 'tracker-rift-080')
-rw-r--r-- | tracker-rift-080/ftnoir_tracker_rift_080.cpp | 10 | ||||
-rw-r--r-- | tracker-rift-080/ftnoir_tracker_rift_080.h | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp index 35a268f2..9ca1206a 100644 --- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp +++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp @@ -10,18 +10,18 @@ using namespace OVR; -Rift_Tracker::Rift_Tracker() : old_yaw(0), hmd(nullptr) +rift_tracker_080::rift_tracker_080() : old_yaw(0), hmd(nullptr) { } -Rift_Tracker::~Rift_Tracker() +rift_tracker_080::~rift_tracker_080() { if (hmd) ovr_Destroy(hmd); ovr_Shutdown(); } -void Rift_Tracker::start_tracker(QFrame*) +void rift_tracker_080::start_tracker(QFrame*) { ovrResult code; ovrGraphicsLuid luid = {{0}}; @@ -55,7 +55,7 @@ error: QMessageBox::NoButton); } -void Rift_Tracker::data(double *data) +void rift_tracker_080::data(double *data) { if (hmd) { @@ -100,4 +100,4 @@ void Rift_Tracker::data(double *data) } } -OPENTRACK_DECLARE_TRACKER(Rift_Tracker, dialog_rift_080, rift_080Dll) +OPENTRACK_DECLARE_TRACKER(rift_tracker_080, dialog_rift_080, rift_080Dll) diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.h b/tracker-rift-080/ftnoir_tracker_rift_080.h index 7868b2a2..e5ad9c3a 100644 --- a/tracker-rift-080/ftnoir_tracker_rift_080.h +++ b/tracker-rift-080/ftnoir_tracker_rift_080.h @@ -20,11 +20,11 @@ struct settings : opts { {} }; -class Rift_Tracker : public ITracker +class rift_tracker_080 : public ITracker { public: - Rift_Tracker(); - ~Rift_Tracker() override; + rift_tracker_080(); + ~rift_tracker_080() override; void start_tracker(QFrame *) override; void data(double *data) override; private: |