#include <albaGUIFloatSlider.h>
|
| | 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) |
| |
| | ~albaGUIFloatSlider () |
| |
| void | SetValue (double value) |
| |
| double | GetValue () |
| |
| double | GetSliderValue () |
| |
| void | SetRange (double min, double max, double value) |
| |
| void | SetRange (double min, double max) |
| |
| void | SetNumberOfSteps (int num) |
| |
| int | GetNumberOfSteps () |
| |
| double | GetStep () |
| |
| void | SetMax (double max) |
| |
| double | GetMax () |
| |
| void | SetMin (double min) |
| |
| double | GetMin () |
| |
|
| double | Round (double val) |
| |
| double | Pow10 (double exponent) |
| |
| void | DiscretizeRangeRange (double min, double max, double n, double *ra, double *rb, double *rs) |
| |
a Slider that can be used to set double values, albaGUIFloatSlider send usual wxWindows Events; Use albaGUIFloatSlider in combination with a albaGUIValidator to receive notification as albaEvents.
Definition at line 38 of file albaGUIFloatSlider.h.
◆ albaGUIFloatSlider()
| albaGUIFloatSlider::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 |
|
) |
| |
◆ ~albaGUIFloatSlider()
| albaGUIFloatSlider::~albaGUIFloatSlider |
( |
| ) |
|
◆ SetValue()
| void albaGUIFloatSlider::SetValue |
( |
double |
value | ) |
|
◆ GetValue()
| double albaGUIFloatSlider::GetValue |
( |
| ) |
|
◆ GetSliderValue()
| double albaGUIFloatSlider::GetSliderValue |
( |
| ) |
|
◆ SetRange() [1/2]
| void albaGUIFloatSlider::SetRange |
( |
double |
min, |
|
|
double |
max, |
|
|
double |
value |
|
) |
| |
Set the slider range and value.
◆ SetRange() [2/2]
| void albaGUIFloatSlider::SetRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
◆ SetNumberOfSteps()
| void albaGUIFloatSlider::SetNumberOfSteps |
( |
int |
num | ) |
|
Set the number of slider's steps.
◆ GetNumberOfSteps()
| int albaGUIFloatSlider::GetNumberOfSteps |
( |
| ) |
|
|
inline |
◆ GetStep()
| double albaGUIFloatSlider::GetStep |
( |
| ) |
|
|
inline |
◆ SetMax()
| void albaGUIFloatSlider::SetMax |
( |
double |
max | ) |
|
Set the slider's max value.
◆ GetMax()
| double albaGUIFloatSlider::GetMax |
( |
| ) |
|
|
inline |
◆ SetMin()
| void albaGUIFloatSlider::SetMin |
( |
double |
min | ) |
|
Set the slider's min value.
◆ GetMin()
| double albaGUIFloatSlider::GetMin |
( |
| ) |
|
|
inline |
◆ Round()
| double albaGUIFloatSlider::Round |
( |
double |
val | ) |
|
|
protected |
◆ Pow10()
| double albaGUIFloatSlider::Pow10 |
( |
double |
exponent | ) |
|
|
protected |
◆ DiscretizeRangeRange()
| void albaGUIFloatSlider::DiscretizeRangeRange |
( |
double |
min, |
|
|
double |
max, |
|
|
double |
n, |
|
|
double * |
ra, |
|
|
double * |
rb, |
|
|
double * |
rs |
|
) |
| |
|
protected |
◆ m_DesiredTicks
| int albaGUIFloatSlider::m_DesiredTicks |
|
protected |
◆ m_Ticks
| int albaGUIFloatSlider::m_Ticks |
|
protected |
◆ m_Value
| double albaGUIFloatSlider::m_Value |
|
protected |
◆ m_Step
| double albaGUIFloatSlider::m_Step |
|
protected |
◆ m_Max
| double albaGUIFloatSlider::m_Max |
|
protected |
◆ m_Min
| double albaGUIFloatSlider::m_Min |
|
protected |
The documentation for this class was generated from the following file: