|
Public Member Functions |
| CommonChControl () |
| Constructors.
|
| CommonChControl (wxWindow *parent, wxWindowID id=SYMBOL_COMMONCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_COMMONCHCONTROL_POSITION, const wxSize &size=SYMBOL_COMMONCHCONTROL_SIZE, long style=SYMBOL_COMMONCHCONTROL_STYLE) |
bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_COMMONCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_COMMONCHCONTROL_POSITION, const wxSize &size=SYMBOL_COMMONCHCONTROL_SIZE, long style=SYMBOL_COMMONCHCONTROL_STYLE) |
| Creation.
|
void | CreateControls () |
| Creates the controls and sizers.
|
void | OnEnableTogglebuttonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ENABLE_TOGGLEBUTTON
|
void | OnButtonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
|
void | OnSpinbuttonUpdated (wxSpinEvent &event) |
| wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINBUTTON
|
wxBitmap | GetBitmapResource (const wxString &name) |
| Retrieves bitmap resources.
|
wxIcon | GetIconResource (const wxString &name) |
| Retrieves icon resources.
|
bool | SetupBoard (GenericBoard *p_board, int ch_index, int ch_count) |
bool | UpdateControls () |
Static Public Member Functions |
static bool | ShowToolTips () |
| Should we show tooltips?
|
Public Attributes |
wxStaticBox * | m_main_sizer_text |
wxToggleButton * | m_ch_enable_control |
wxButton * | m_ch_DAC_reset_control |
wxSpinButton * | m_ch_DAC_control |
wxStaticText * | m_medium_value_control |
wxStaticText * | m_overload_control |
Private Member Functions |
void | UpdateDAC (void) |
Private Attributes |
GenericBoard * | m_p_board |
GenericBoardChannel * | m_p_board_channel |
int | m_ch_index |
int | m_ch_count |