CFx SDK Documentation
2023 SP0
|
#include <FxUISlider.h>
Additional Inherited Members | |
Public Types inherited from CFxUIBaseView | |
enum | TextAlignment { AlignLeft = 0x0001 , AlignRight = 0x0002 , AlignHCenter = 0x0004 , AlignJustify = 0x0008 , AlignTop = 0x0020 , AlignBottom = 0x0040 , AlignVCenter = 0x0080 , AlignBaseline = 0x0100 , AlignCenter = AlignVCenter | AlignHCenter } |
enum | FocusPolicyType { eNoFocus = 0 , eTabFocus = 0x1 , eClickFocus = 0x2 , eStrongFocus = eTabFocus | eClickFocus | 0x8 , eWheelFocus = eStrongFocus | 0x4 , eKeyboardOnSetfocus = 0x10 } |
enum | UIWidthSizePolicy { eXS = 0 , eS , eM , eL , eXL } |
Static Public Member Functions inherited from CFxUIBaseView | |
static void | setTabOrder (CFxUIObject *first, CFxUIObject *second) |
Protected Member Functions inherited from CFxUIObject | |
CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
CFxUIObjectImpl * | m_pImpl |
CFxUIObjectData * | m_pData |
Class CFxUI type slider.
Definition at line 25 of file FxUISlider.h.
CFxUISlider::CFxUISlider | ( | ) |
Constructor
CFxUISlider::~CFxUISlider | ( | ) |
Destructor
void CFxUISlider::setMaximum | ( | int | iMaximum | ) |
Sets the maximum range of slider.
iMaximum | Input |
void CFxUISlider::setMinimum | ( | int | iMinimum | ) |
Sets the minimum range of slider.
iMinimum | Input |
void CFxUISlider::setRange | ( | int | iMinimu, |
int | iMaximum | ||
) |
Sets the minimum and maximum range of slider.
iMinimu | Input |
iMaximum | Input |
void CFxUISlider::setValue | ( | int | i | ) |
Sets the slider's current value.
Changing slider's value also changes the slider position.
i | Input. |
int CFxUISlider::value | ( | ) | const |
Returns the slider's current value.
CFxUISignal<void(int)>& CFxUISlider::valueChanged | ( | ) |
Signal is emitted whenever the slider's value is changed.