Fix default values in fc2dconfig

This commit is contained in:
Epicalert 2021-07-13 17:38:18 +08:00
parent 9b0645824d
commit 7456a1f111
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD
2 changed files with 6 additions and 3 deletions

View file

@ -7,9 +7,6 @@
## models ## models
- better default model - better default model
## config program
- disable checkboxes by default in fc2dconfig
## misc ## misc
- README - README
- .desktop entry - .desktop entry

View file

@ -69,6 +69,12 @@ ConfigurationFrame::ConfigurationFrame() : wxFrame(NULL, wxID_ANY, "Configure "
cameraSizer->Add(cameraText, 0, wxALIGN_CENTER | wxALL, 5); cameraSizer->Add(cameraText, 0, wxALIGN_CENTER | wxALL, 5);
cameraSizer->Add(cameraSpinCtrl, 0, wxLEFT, 20); cameraSizer->Add(cameraSpinCtrl, 0, wxLEFT, 20);
// set default values
useHaarCheckBox->SetValue(false);
showCameraCheckBox->SetValue(false);
noEyesCheckBox->SetValue(false);
cameraSpinCtrl->SetValue(0);
// define tooltips // define tooltips
useHaarCheckBox->SetToolTip("Use Haar Cascades for faster (but less accurate) face detection."); useHaarCheckBox->SetToolTip("Use Haar Cascades for faster (but less accurate) face detection.");
showCameraCheckBox->SetToolTip("Show the camera feed in another window."); showCameraCheckBox->SetToolTip("Show the camera feed in another window.");