From 32ee3d9f57b37723ee97c3b798be6968f98df1b1 Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 22 Sep 2026 06:45:33 +0200 Subject: fix: windows support --- src/ui/ui_layer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui/ui_layer.h') diff --git a/src/ui/ui_layer.h b/src/ui/ui_layer.h index eac5273..3108c21 100644 --- a/src/ui/ui_layer.h +++ b/src/ui/ui_layer.h @@ -19,7 +19,7 @@ namespace Donut public: UILayer(); - auto init() -> void; + auto init(float dpi_scale = 1.0f) -> void; auto draw(const UIContext& ctx) -> View; private: @@ -62,6 +62,7 @@ namespace Donut int m_active_tab = 0; int m_tab_request = -1; bool m_first_frame = true; + float m_dpi_scale = 1.0f; int m_gizmo_op = 0; -- cgit v1.3