#include <record_ch_control.h>
Public Member Functions | |
| RecordChControl () | |
| Constructors. | |
| RecordChControl (wxWindow *parent, wxWindowID id=SYMBOL_RECORDCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_RECORDCHCONTROL_POSITION, const wxSize &size=SYMBOL_RECORDCHCONTROL_SIZE, long style=SYMBOL_RECORDCHCONTROL_STYLE) | |
| bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_RECORDCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_RECORDCHCONTROL_POSITION, const wxSize &size=SYMBOL_RECORDCHCONTROL_SIZE, long style=SYMBOL_RECORDCHCONTROL_STYLE) |
| Creation. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | OnTogglebuttonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON | |
| void | OnRateDividerSpinctrlUpdated (wxSpinEvent &event) |
| wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL | |
| void | OnFormatChoiceSelected (wxCommandEvent &event) |
| wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_FORMAT_CHOICE | |
| void | OnRateDividerSpinctrlTextUpdated (wxCommandEvent &event) |
| 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 is_virtual) |
| bool | UpdateControls (void) |
| void | UpdateRateDivider (int value) |
Static Public Member Functions | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Public Attributes | |
| wxStaticBox * | m_main_sizer_text |
| wxToggleButton * | m_ch_enable_control |
| wxSpinCtrl * | m_ch_rate_divider_control |
| wxChoice * | m_format_control |
Private Attributes | |
| bool | m_is_virtual |
| GenericBoard * | m_p_board |
| GenericBoardChannel * | m_p_board_channel |
| int | m_ch_index |
| int | m_ch_count |
Definition at line 69 of file record_ch_control.h.
|
|
Constructors. RecordChControl constructors Definition at line 65 of file record_ch_control.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 69 of file record_ch_control.cpp. References Create(). |
|
||||||||||||||||||||||||
|
Creation. RecordChControl creator Definition at line 78 of file record_ch_control.cpp. References CreateControls(), m_ch_enable_control, m_ch_rate_divider_control, m_format_control, and m_main_sizer_text. Referenced by RecordChControl(). |
|
|
Creates the controls and sizers. Control creation for RecordChControl Definition at line 104 of file record_ch_control.cpp. References ID_FORMAT_CHOICE, ID_RATE_DIVIDER_SPINCTRL, ID_TOGGLEBUTTON, m_ch_enable_control, m_ch_rate_divider_control, m_format_control, m_main_sizer_text, and ShowToolTips(). Referenced by Create(). |
|
|
Retrieves bitmap resources. Get bitmap resources Definition at line 188 of file record_ch_control.cpp. |
|
|
Retrieves icon resources. Get icon resources Definition at line 201 of file record_ch_control.cpp. |
|
|
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_FORMAT_CHOICE wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_FORMAT_CHOICE Definition at line 259 of file record_ch_control.cpp. References m_p_board_channel, and GenericBoardChannel::m_record_format_type. |
|
|
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL Definition at line 169 of file record_ch_control.cpp. References UpdateRateDivider(). |
|
|
wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL Definition at line 160 of file record_ch_control.cpp. References UpdateRateDivider(). |
|
|
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON Definition at line 150 of file record_ch_control.cpp. References m_ch_enable_control, m_p_board_channel, and GenericBoardChannel::m_record_enabled. |
|
||||||||||||||||||||
|
Definition at line 210 of file record_ch_control.cpp. References m_ch_count, GenericBoardChannel::m_ch_index, m_ch_index, m_is_virtual, m_p_board, m_p_board_channel, and GenericBoardChannel::m_p_record_ch_control. Referenced by MainFrame::CreateDynControls(). |
|
|
Should we show tooltips? Should we show tooltips? Definition at line 179 of file record_ch_control.cpp. Referenced by CreateControls(). |
|
|
Definition at line 234 of file record_ch_control.cpp. References m_ch_enable_control, m_ch_rate_divider_control, m_format_control, and m_main_sizer_text. |
|
|
Definition at line 251 of file record_ch_control.cpp. References m_p_board_channel, and GenericBoardChannel::m_record_rate_divider. Referenced by OnRateDividerSpinctrlTextUpdated(), and OnRateDividerSpinctrlUpdated(). |
|
|
Definition at line 127 of file record_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 113 of file record_ch_control.h. Referenced by Create(), CreateControls(), OnTogglebuttonClick(), and UpdateControls(). |
|
|
Definition at line 126 of file record_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 114 of file record_ch_control.h. Referenced by Create(), CreateControls(), and UpdateControls(). |
|
|
Definition at line 115 of file record_ch_control.h. Referenced by Create(), CreateControls(), and UpdateControls(). |
|
|
Definition at line 122 of file record_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 112 of file record_ch_control.h. Referenced by Create(), CreateControls(), and UpdateControls(). |
|
|
Definition at line 124 of file record_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 125 of file record_ch_control.h. Referenced by OnFormatChoiceSelected(), OnTogglebuttonClick(), SetupBoard(), and UpdateRateDivider(). |
1.4.6-NO