Add tooltips to fc2dconfig
This commit is contained in:
parent
408ed1d64a
commit
5620f6bbb4
1
TODO.md
1
TODO.md
|
@ -9,7 +9,6 @@
|
|||
|
||||
## config program
|
||||
- disable checkboxes by default in fc2dconfig
|
||||
- tooltips
|
||||
|
||||
## misc
|
||||
- README
|
||||
|
|
|
@ -13,14 +13,14 @@ const char* argp_program_version =
|
|||
const struct argp_option options[] = {
|
||||
//name, key, arg, flags, doc, group
|
||||
{"haar-cascade", 0x00, 0, 0, "Use Haar Cascades for faster (but less accurate) face detection.", 0},
|
||||
{"show-camera", 0x01, 0, 0, "Show the camera feed in another window", 0},
|
||||
{"show-camera", 0x01, 0, 0, "Show the camera feed in another window.", 0},
|
||||
{"no-eyes", 0x02, 0, 0, "Disable eye tracking for better performance.", 0},
|
||||
{"model", 'm', "model", 0, "Name of the model file to use. (not including '.fma')", 0},
|
||||
// this option actually selects the minimum camera id to use,
|
||||
// i.e. instead of trying video0, video1, ... it will try
|
||||
// starting from 'c'.
|
||||
// e.g. -c6 is passed, so the program will try video6, video7, etc.
|
||||
{"camera", 'c', "id", 0, "ID number of camera to use (e.g. /dev/videoXX where XX is the ID)", 0},
|
||||
{"camera", 'c', "id", 0, "ID number of camera to use. (e.g. /dev/videoXX where XX is the ID)", 0},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
|
|
@ -71,6 +71,13 @@ ConfigurationFrame::ConfigurationFrame() : wxFrame(NULL, wxID_ANY, "Configure "
|
|||
cameraSizer->Add(cameraText, 0, wxALIGN_CENTER | wxALL, 5);
|
||||
cameraSizer->Add(cameraSpinCtrl, 0, wxLEFT, 20);
|
||||
|
||||
// define tooltips
|
||||
useHaarCheckBox->SetToolTip("Use Haar Cascades for faster (but less accurate) face detection.");
|
||||
showCameraCheckBox->SetToolTip("Show the camera feed in another window.");
|
||||
noEyesCheckBox->SetToolTip("Disable eye tracking for better performance.");
|
||||
modelNameText->SetToolTip("Name of model to use.");
|
||||
cameraText->SetToolTip("ID number of camera to use. (e.g. /dev/videoXX where XX is the ID)");
|
||||
|
||||
|
||||
// General section
|
||||
wxStaticBoxSizer* generalBoxSizer = new wxStaticBoxSizer(new wxStaticBox(panel, wxID_ANY, "General"), wxVERTICAL);
|
||||
|
|
Loading…
Reference in a new issue