#include <cursor_ch_control.h>
Public Member Functions | |
| CursorChControl () | |
| Constructors. | |
| CursorChControl (wxWindow *parent, wxWindowID id=SYMBOL_CURSORCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_CURSORCHCONTROL_POSITION, const wxSize &size=SYMBOL_CURSORCHCONTROL_SIZE, long style=SYMBOL_CURSORCHCONTROL_STYLE) | |
| bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_CURSORCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_CURSORCHCONTROL_POSITION, const wxSize &size=SYMBOL_CURSORCHCONTROL_SIZE, long style=SYMBOL_CURSORCHCONTROL_STYLE) |
| Creation. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | OnCursorTogglebuttonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CURSOR_TOGGLEBUTTON | |
| void | OnCursorResetButtonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CURSOR_RESET_BUTTON | |
| void | OnCursorPositionSpinbuttonUpdated (wxSpinEvent &event) |
| wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_CURSOR_POSITION_SPINBUTTON | |
| void | OnCursorPosMultiplierChoiceSelected (wxCommandEvent &event) |
| wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CURSOR_POS_MULTIPLIER_CHOICE | |
| 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, int m_scope_index, bool is_virtual) |
| bool | UpdateControls (void) |
| bool | UpdateCursorPosition (int cursor_position) |
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_cursor_reset_control |
| wxSpinButton * | m_set_cursor_position_control |
| wxChoice * | m_cursor_pos_multiplier_control |
| wxStaticText * | m_cursor_position_control |
| wxStaticText * | m_cursor_value_control |
| wxStaticText * | m_mV_label |
Private Member Functions | |
| int | GetCursorMultipler (void) |
Private Attributes | |
| GenericBoard * | m_p_board |
| GenericBoardChannel * | m_p_board_channel |
| int | m_ch_index |
| int | m_ch_count |
| int | m_scope_index |
| int | m_last_cursor_pos |
| bool | m_is_virtual |
Definition at line 69 of file cursor_ch_control.h.
|
|
Constructors. CursorChControl constructors Definition at line 66 of file cursor_ch_control.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 70 of file cursor_ch_control.cpp. References Create(). |
|
||||||||||||||||||||||||
|
Creation. CursorChControl creator Definition at line 80 of file cursor_ch_control.cpp. References CreateControls(), m_ch_cursor_reset_control, m_ch_enable_control, m_cursor_pos_multiplier_control, m_cursor_position_control, m_cursor_value_control, m_main_sizer_text, m_mV_label, and m_set_cursor_position_control. Referenced by CursorChControl(). |
|
|
Creates the controls and sizers. Control creation for CursorChControl Definition at line 110 of file cursor_ch_control.cpp. References ID_CURSOR_POS_MULTIPLIER_CHOICE, ID_CURSOR_POSITION_SPINBUTTON, ID_CURSOR_RESET_BUTTON, ID_CURSOR_TOGGLEBUTTON, m_ch_cursor_reset_control, m_ch_enable_control, m_cursor_pos_multiplier_control, m_cursor_position_control, m_cursor_value_control, m_main_sizer_text, m_mV_label, m_set_cursor_position_control, and ShowToolTips(). Referenced by Create(). |
|
|
Retrieves bitmap resources. Get bitmap resources Definition at line 221 of file cursor_ch_control.cpp. |
|
|
Definition at line 319 of file cursor_ch_control.cpp. References m_cursor_pos_multiplier_control. |
|
|
Retrieves icon resources. Get icon resources Definition at line 234 of file cursor_ch_control.cpp. |
|
|
wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_CURSOR_POSITION_SPINBUTTON wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINBUTTON1 Definition at line 268 of file cursor_ch_control.cpp. References m_last_cursor_pos, m_set_cursor_position_control, and UpdateCursorPosition(). |
|
|
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CURSOR_POS_MULTIPLIER_CHOICE wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CURSOR_POS_MULTIPLIER_CHOICE Definition at line 349 of file cursor_ch_control.cpp. |
|
|
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CURSOR_RESET_BUTTON wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1 Definition at line 257 of file cursor_ch_control.cpp. References m_last_cursor_pos, m_set_cursor_position_control, and UpdateCursorPosition(). |
|
|
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CURSOR_TOGGLEBUTTON wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON Definition at line 246 of file cursor_ch_control.cpp. References m_ch_enable_control, GenericBoardChannel::m_cursor_enabled, m_p_board_channel, m_scope_index, and GenericBoardChannel::ScopeRefresh. |
|
||||||||||||||||||||||||
|
Definition at line 277 of file cursor_ch_control.cpp. References m_ch_count, GenericBoardChannel::m_ch_index, m_ch_index, m_is_virtual, m_mV_label, m_p_board, m_p_board_channel, GenericBoardChannel::m_p_cursor_ch_control, and m_scope_index. Referenced by MainFrame::CreateDynControls(). |
|
|
Should we show tooltips? Should we show tooltips? Definition at line 212 of file cursor_ch_control.cpp. Referenced by CreateControls(). |
|
|
Definition at line 304 of file cursor_ch_control.cpp. References m_ch_enable_control, and m_main_sizer_text. |
|
|
Definition at line 335 of file cursor_ch_control.cpp. References GenericBoardChannel::m_cursor_position, m_cursor_position_control, m_p_board_channel, m_scope_index, GenericBoardChannel::Sample2Sec(), and GenericBoardChannel::ScopeRefresh. Referenced by OnCursorPositionSpinbuttonUpdated(), and OnCursorResetButtonClick(). |
|
|
Definition at line 132 of file cursor_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 116 of file cursor_ch_control.h. Referenced by Create(), and CreateControls(). |
|
|
Definition at line 115 of file cursor_ch_control.h. Referenced by Create(), CreateControls(), OnCursorTogglebuttonClick(), and UpdateControls(). |
|
|
Definition at line 131 of file cursor_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 118 of file cursor_ch_control.h. Referenced by Create(), CreateControls(), and GetCursorMultipler(). |
|
|
Definition at line 119 of file cursor_ch_control.h. Referenced by Create(), CreateControls(), and UpdateCursorPosition(). |
|
|
Definition at line 120 of file cursor_ch_control.h. Referenced by Create(), and CreateControls(). |
|
|
Definition at line 135 of file cursor_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 134 of file cursor_ch_control.h. Referenced by OnCursorPositionSpinbuttonUpdated(), and OnCursorResetButtonClick(). |
|
|
Definition at line 114 of file cursor_ch_control.h. Referenced by Create(), CreateControls(), and UpdateControls(). |
|
|
Definition at line 121 of file cursor_ch_control.h. Referenced by Create(), CreateControls(), and SetupBoard(). |
|
|
Definition at line 129 of file cursor_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 130 of file cursor_ch_control.h. Referenced by OnCursorTogglebuttonClick(), SetupBoard(), and UpdateCursorPosition(). |
|
|
Definition at line 133 of file cursor_ch_control.h. Referenced by OnCursorTogglebuttonClick(), SetupBoard(), and UpdateCursorPosition(). |
|
|
Definition at line 117 of file cursor_ch_control.h. Referenced by Create(), CreateControls(), OnCursorPositionSpinbuttonUpdated(), and OnCursorResetButtonClick(). |
1.4.6-NO