TBTK
TBTK::ParameterSliderPanel Class Reference
Inheritance diagram for TBTK::ParameterSliderPanel:

Public Member Functions

 ParameterSliderPanel (wxWindow *parent, wxWindowID id, const std::string &parameterName, double lowerBound, double upperBound, unsigned int numTicks, double value)
 
 ~ParameterSliderPanel ()
 
void onPaintEvent (wxPaintEvent &event)
 
void onSizeEvent (wxSizeEvent &event)
 
void onSliderChange (wxScrollEvent &event)
 
double getValue () const
 
unsigned int getTick () const
 

Protected Member Functions

 DECLARE_EVENT_TABLE ()
 

Constructor & Destructor Documentation

TBTK::ParameterSliderPanel::ParameterSliderPanel ( wxWindow *  parent,
wxWindowID  id,
const std::string &  parameterName,
double  lowerBound,
double  upperBound,
unsigned int  numTicks,
double  value 
)

Constructor.

TBTK::ParameterSliderPanel::~ParameterSliderPanel ( )

Destructor.

Member Function Documentation

unsigned int TBTK::ParameterSliderPanel::getTick ( ) const
inline

Get tick.

double TBTK::ParameterSliderPanel::getValue ( ) const
inline

Get value.

void TBTK::ParameterSliderPanel::onPaintEvent ( wxPaintEvent &  event)

On paint event.

void TBTK::ParameterSliderPanel::onSizeEvent ( wxSizeEvent &  event)

On size event.

void TBTK::ParameterSliderPanel::onSliderChange ( wxScrollEvent &  event)

On slider change.


The documentation for this class was generated from the following file: