CursorChControl Class Reference

#include <cursor_ch_control.h>

List of all members.

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

GenericBoardm_p_board
GenericBoardChannelm_p_board_channel
int m_ch_index
int m_ch_count
int m_last_cursor_pos


Detailed Description

CursorChControl class declaration


Constructor & Destructor Documentation

CursorChControl::CursorChControl  ) 
 

Constructors.

CursorChControl constructors

CursorChControl::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
 


Member Function Documentation

bool CursorChControl::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.

CursorChControl creator

void CursorChControl::CreateControls  ) 
 

Creates the controls and sizers.

Control creation for CursorChControl

wxBitmap CursorChControl::GetBitmapResource const wxString &  name  ) 
 

Retrieves bitmap resources.

Get bitmap resources

int CursorChControl::GetCursorMultipler void   )  [private]
 

wxIcon CursorChControl::GetIconResource const wxString &  name  ) 
 

Retrieves icon resources.

Get icon resources

void CursorChControl::OnCursorPositionSpinbuttonUpdated wxSpinEvent &  event  ) 
 

wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_CURSOR_POSITION_SPINBUTTON

wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINBUTTON1

void CursorChControl::OnCursorPosMultiplierChoiceSelected wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CURSOR_POS_MULTIPLIER_CHOICE

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CURSOR_POS_MULTIPLIER_CHOICE

void CursorChControl::OnCursorResetButtonClick wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CURSOR_RESET_BUTTON

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1

void CursorChControl::OnCursorTogglebuttonClick wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CURSOR_TOGGLEBUTTON

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON

bool CursorChControl::SetupBoard GenericBoard p_board,
int  ch_index,
int  ch_count
 

bool CursorChControl::ShowToolTips  )  [static]
 

Should we show tooltips?

Should we show tooltips?

bool CursorChControl::UpdateControls void   ) 
 

bool CursorChControl::UpdateCursorPosition int  cursor_position  ) 
 


Member Data Documentation

int CursorChControl::m_ch_count [private]
 

wxButton* CursorChControl::m_ch_cursor_reset_control
 

wxToggleButton* CursorChControl::m_ch_enable_control
 

int CursorChControl::m_ch_index [private]
 

wxChoice* CursorChControl::m_cursor_pos_multiplier_control
 

wxStaticText* CursorChControl::m_cursor_position_control
 

wxStaticText* CursorChControl::m_cursor_value_control
 

int CursorChControl::m_last_cursor_pos [private]
 

wxStaticBox* CursorChControl::m_main_sizer_text
 

GenericBoard* CursorChControl::m_p_board [private]
 

GenericBoardChannel* CursorChControl::m_p_board_channel [private]
 

wxSpinButton* CursorChControl::m_set_cursor_position_control
 


The documentation for this class was generated from the following files:
Generated on Mon Nov 6 14:16:00 2006 for CAENScope by  doxygen 1.4.6-NO