Label

Undocumented in source.

Constructors

this
this(string newText)
Undocumented in source.
this
this()
Undocumented in source.

Members

Functions

draw
void draw()
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.
reload
void reload()
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

color
Color color [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
color
Color color [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
font
Font font [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
font
Font font [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isLoaded
bool isLoaded [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
Vec2f scale [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
Vec2f scale [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
sprite
Sprite sprite [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
text
string text [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
text
string text [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

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