94 virtual void SetSize(
float width,
float height) = 0;
101 virtual void GetSize(
float &width,
float &height)
const = 0;
139 virtual void SetText(
const std::string &text) = 0;
145 [[nodiscard]]
virtual const std::string &
GetText()
const = 0;
181 [[nodiscard]]
virtual int GetFont()
const = 0;
ButtonState
Button state enumeration.
@ PRESSED
Mouse button is held down on the button.
@ HOVERED
Mouse is over the button.
Align
Alignment modes relative to the current window.
@ CENTER_VERTICAL
Center on the Y axis.
@ CENTER_BOTH
Center on both axes.
@ CENTER_HORIZONTAL
Center on the X axis.