8#include "../GUI/pipeline_image_image.hpp"
9#include "../graphic_path.hpp"
11#include "../stencils/image_stencil.hpp"
37 aarect system_menu_rectangle;
Draw context for drawing using the TTauri shaders.
Definition draw_context.hpp:33
Definition gui_window.hpp:39
Definition hit_box.hpp:15
An image, in different formats.
Definition icon.hpp:19
Definition system_menu_widget.hpp:19
void update_layout(hires_utc_clock::time_point display_time_point, bool need_layout) noexcept override
Update the internal layout of the widget.
hit_box hitbox_test(f32x4 window_position) const noexcept override
Find the widget that is under the mouse cursor.
void draw(draw_context context, hires_utc_clock::time_point display_time_point) noexcept override
Draw the widget.
bool update_constraints(hires_utc_clock::time_point display_time_point, bool need_reconstrain) noexcept override
Update the constraints of the widget.
widget(gui_window &window, std::shared_ptr< abstract_container_widget > parent) noexcept
gui_window & window
Convenient reference to the Window.
Definition widget.hpp:100
abstract_container_widget const & parent() const noexcept
Get a reference to the parent.