Slider

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

getSliderPosition
Vec2f getSliderPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
onEvent
void onEvent(Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
relocateSlider
void relocateSlider(Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float deltaTime)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

fvalue
float fvalue [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fvalue
float fvalue [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ivalue
int ivalue [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ivalue
int ivalue [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
float length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
float length [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
max
float max [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
max
float max [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
min
float min [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
min
float min [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
offset
float offset [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
step
uint step [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
step
uint step [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
value01
float value01 [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value01
float value01 [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_isGrabbed
bool _isGrabbed;
_length
float _length;
_max
float _max;
_min
float _min;
_minimalSliderSize
float _minimalSliderSize;
_offset
float _offset;
_step
float _step;
Undocumented in source.
_value
float _value;
Undocumented in source.

Inherited Members

From Widget

_hint
Hint _hint;
Undocumented in source.
_isLocked
bool _isLocked;
_isMovable
bool _isMovable;
_isHovered
bool _isHovered;
_isSelected
bool _isSelected;
_isValidated
bool _isValidated;
_hasFocus
bool _hasFocus;
_isInteractable
bool _isInteractable;
Undocumented in source.
_position
Vec2f _position;
_size
Vec2f _size;
_anchor
Vec2f _anchor;
_padding
Vec2f _padding;
Undocumented in source.
_angle
float _angle;
Undocumented in source.
_callbackWidget
Widget _callbackWidget;
Undocumented in source.
_callbackId
string _callbackId;
Undocumented in source.
isLocked
bool isLocked [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isLocked
bool isLocked [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isMovable
bool isMovable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isMovable
bool isMovable [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isHovered
bool isHovered [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isHovered
bool isHovered [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isSelected
bool isSelected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isSelected
bool isSelected [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasFocus
bool hasFocus [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasFocus
bool hasFocus [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isInteractable
bool isInteractable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isInteractable
bool isInteractable [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isValidated
bool isValidated [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isValidated
bool isValidated [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
Vec2f position [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
Vec2f position [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Vec2f size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Vec2f size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
anchor
Vec2f anchor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
anchor
Vec2f anchor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
anchoredPosition
Vec2f anchoredPosition [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
padding
Vec2f padding [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
padding
Vec2f padding [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
angle
float angle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
angle
float angle [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isInside
bool isInside(Vec2f pos)
Undocumented in source. Be warned that the author may not have intended to support it.
isOnInteractableWidget
bool isOnInteractableWidget(Vec2f pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setHint
void setHint(string title, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
drawOverlay
void drawOverlay()
Undocumented in source. Be warned that the author may not have intended to support it.
setCallback
void setCallback(Widget callbackWidget, string callbackId)
Undocumented in source. Be warned that the author may not have intended to support it.
triggerCallback
void triggerCallback()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float deltaTime)
Undocumented in source.
onEvent
void onEvent(Event event)
Undocumented in source.
draw
void draw()
Undocumented in source.
onLock
void onLock()
Undocumented in source. Be warned that the author may not have intended to support it.
onMovable
void onMovable()
Undocumented in source. Be warned that the author may not have intended to support it.
onHover
void onHover()
Undocumented in source. Be warned that the author may not have intended to support it.
onSelect
void onSelect()
Undocumented in source. Be warned that the author may not have intended to support it.
onFocus
void onFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
onInteractable
void onInteractable()
Undocumented in source. Be warned that the author may not have intended to support it.
onValidate
void onValidate()
Undocumented in source. Be warned that the author may not have intended to support it.
onDeltaPosition
void onDeltaPosition(Vec2f delta)
Undocumented in source. Be warned that the author may not have intended to support it.
onPosition
void onPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
onDeltaSize
void onDeltaSize(Vec2f delta)
Undocumented in source. Be warned that the author may not have intended to support it.
onSize
void onSize()
Undocumented in source. Be warned that the author may not have intended to support it.
onDeltaAnchor
void onDeltaAnchor(Vec2f delta)
Undocumented in source. Be warned that the author may not have intended to support it.
onAnchor
void onAnchor()
Undocumented in source. Be warned that the author may not have intended to support it.
onPadding
void onPadding()
Undocumented in source. Be warned that the author may not have intended to support it.
onAngle
void onAngle()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta