6#include "TTauri/Widgets/Widget.hpp"
7#include "TTauri/Foundation/Path.hpp"
43 static
void drawCross(
Path &path,
vec position,
float radius) noexcept;
44 static
void drawTrianglesOutward(
Path &path,
vec position,
float radius) noexcept;
45 static
void drawTrianglesInward(
Path &path,
vec position,
float radius) noexcept;
47 PipelineImage::Backing::ImagePixelMap drawImage(
std::shared_ptr<PipelineImage::
Image> image) noexcept;
49 PipelineImage::Backing backingImage;
An image, in different formats.
Definition Image.hpp:18
A 2D canvas of pixels.
Definition PixelMap.hpp:83
Definition R16G16B16A16SFloat.hpp:15
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
Definition ImageWidget.hpp:18
void handleMouseEvent(MouseEvent const &event) noexcept override
HitBox hitBoxTest(vec position) const noexcept override
Find the widget that is under the mouse cursor.
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.