diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2010-07-17 12:20:26 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2010-07-17 12:20:26 +0000 |
commit | eaacd47152e280baf330f88591dda6a04953a628 (patch) | |
tree | 94f4a0ca42047b367b07838585f228d139ae257b /FaceTrackNoIR/FaceTrackNoIR.cpp | |
parent | 1de2c6cab939b0d887b8d2acc59fe24939df2cfc (diff) |
Added TrackIR support
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@15 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.cpp')
-rw-r--r-- | FaceTrackNoIR/FaceTrackNoIR.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.cpp b/FaceTrackNoIR/FaceTrackNoIR.cpp index c8b717cf..8556eb5b 100644 --- a/FaceTrackNoIR/FaceTrackNoIR.cpp +++ b/FaceTrackNoIR/FaceTrackNoIR.cpp @@ -682,6 +682,7 @@ void FaceTrackNoIR::createIconGroupBox() ui.iconcomboBox->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/FlightGear.ico"), tr("FlightGear"));
ui.iconcomboBox->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/FaceTrackNoIR.ico"), tr("FTNoir client"));
ui.iconcomboBox->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/PPJoy.ico"), tr("Virtual Joystick"));
+ ui.iconcomboBox->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/TrackIR.ico"), tr("Fake TrackIR"));
ui.iconcomboTrackerSource->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/SeeingMachines.ico"), tr("Face API"));
ui.iconcomboTrackerSource->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/FaceTrackNoIR.ico"), tr("FTNoir server"));
@@ -750,6 +751,9 @@ void FaceTrackNoIR::setIcon(int index) ui.btnShowServerControls->show();
ui.btnShowServerControls->setEnabled ( true );
break;
+ case TRACKIR:
+ ui.btnShowServerControls->hide();
+ break;
default:
break;
}
|