|
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) |
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 |
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_last_cursor_pos |