Widget

Undocumented in source.
class Widget {}

Constructors

this
this()
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source.
drawOverlay
void drawOverlay()
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.
onAnchor
void onAnchor()
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.
onDeltaAnchor
void onDeltaAnchor(Vec2f delta)
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.
onDeltaSize
void onDeltaSize(Vec2f delta)
Undocumented in source. Be warned that the author may not have intended to support it.
onEvent
void onEvent(Event event)
Undocumented in source.
onFocus
void onFocus()
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.
onInteractable
void onInteractable()
Undocumented in source. Be warned that the author may not have intended to support it.
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.
onPadding
void onPadding()
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.
onSelect
void onSelect()
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.
onValidate
void onValidate()
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.
setHint
void setHint(string title, string text)
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.

Properties

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.
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.
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.
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.
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.
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.
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.
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.
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.
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]
_anchor
Vec2f _anchor;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_angle
float _angle;
Undocumented in source.
_callbackId
string _callbackId;
Undocumented in source.
_callbackWidget
Widget _callbackWidget;
_hasFocus
bool _hasFocus;
Undocumented in source.
_hint
Hint _hint;
_isHovered
bool _isHovered;
_isInteractable
bool _isInteractable;
Undocumented in source.
_isLocked
bool _isLocked;
_isMovable
bool _isMovable;
_isSelected
bool _isSelected;
_isValidated
bool _isValidated;
_padding
Vec2f _padding;
Undocumented in source.
_position
Vec2f _position;
_size
Vec2f _size;
Undocumented in source.

Meta