|
Public Member Functions |
| | prefspage (wxWindow *parent, config *cfg, int cols=2) |
| | Create a new prefs page in the dialog and add to the notebook.
|
| void | addBoolean (wxString prompt, wxString prefsPath) |
| | Add a boolean option to the grid.
|
| void | addInteger (wxString prompt, wxString prefsPath, int min=0, int max=100) |
| | Add an integer rags selection option to the grid.
|
| void | addText (wxString prompt, wxString prefsPath) |
| | Add a text input to the grid.
|
| void | addChoice (wxString prompt, wxString prefsPath, wxArrayString choices) |
| | Add a choice selector drop down option to the grid.
|
| void | addColour (wxString prompt, wxString prefsPath) |
| | Add a colour select option to the grid.
|
| bool | saveSettings () |
| | Writes the settings in the controls to the config object.
|
Protected Member Functions |
| wxGBPosition | nextPos () |
| | Helper func to track the next grid position.
|
Protected Attributes |
| int | ncols |
| int | row |
| int | col |
| int | border |
| wxGridBagSizer * | sizer |
| ctrlHash | controls |
| config * | conf |