6#include "TTauri/Widgets/Widget.hpp"
7#include <rhea/constraint.hpp>
Optimized translate matrix.
Definition mat.hpp:119
A 4D vector.
Definition vec.hpp:37
Draw context for drawing using the TTauri shaders.
Definition DrawContext.hpp:30
Definition MouseEvent.hpp:12
Definition Window_vulkan_win32.hpp:15
ShapedText represent a piece of text shaped to be displayed.
Definition ShapedText.hpp:21
Definition ButtonWidget.hpp:16
bool acceptsFocus() const noexcept override
Check if the widget will accept keyboard focus.
Definition ButtonWidget.hpp:43
HitBox hitBoxTest(vec position) const noexcept override
Find the widget that is under the mouse cursor.
void handleCommand(string_ltag command) noexcept override
Handle command.
void layout(hires_utc_clock::time_point displayTimePoint) noexcept override
Layout the widget.
void draw(DrawContext const &drawContext, hires_utc_clock::time_point displayTimePoint) noexcept override
Draw widget.
void handleMouseEvent(MouseEvent const &event) noexcept override
observable< bool > enabled
The widget is enabled.
Definition Widget.hpp:150