16#ifndef __albaGUIFloatSlider_H__
17#define __albaGUIFloatSlider_H__
22 #define FLOAT_SLIDER_PARENT wxSlider
45 const double &value=0,
46 const double &minvalue=0,
47 const double &maxvalue=1,
48 const wxPoint &position=wxDefaultPosition,
49 const wxSize& size=wxDefaultSize,
50 long style=wxSL_HORIZONTAL );
63 void SetRange(
double min,
double max,
double value);
81 double GetMax() {
return this->m_Max;};
87 double GetMin() {
return this->m_Min;};
#define FLOAT_SLIDER_PARENT
a Slider that can be used to set double values, albaGUIFloatSlider send usual wxWindows Events; Use a...
double GetMax()
Get the slider's max value.
void SetRange(double min, double max)
Set the slider range.
double GetSliderValue()
Get the slider Value.
double GetValue()
Get the current value.
void SetMin(double min)
Set the slider's min value.
void SetRange(double min, double max, double value)
Set the slider range and value.
double GetMin()
Get the slider's min value.
void SetMax(double max)
Set the slider's max value.
void DiscretizeRangeRange(double min, double max, double n, double *ra, double *rb, double *rs)
void SetNumberOfSteps(int num)
Set the number of slider's steps.
double GetStep()
Get the slider's step value.
double Pow10(double exponent)
albaGUIFloatSlider(wxWindow *parent=NULL, wxWindowID id=-1, const double &value=0, const double &minvalue=0, const double &maxvalue=1, const wxPoint &position=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSL_HORIZONTAL)
int GetNumberOfSteps()
Get the number of slider's steps.
void SetValue(double value)
Set the slider value.