From 0fa4a8542bf9eda8bd9c28da199b3e90e04279b9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 22 Nov 2022 03:19:29 +0100 Subject: wip --- editor/dpi.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 editor/dpi.cpp (limited to 'editor/dpi.cpp') diff --git a/editor/dpi.cpp b/editor/dpi.cpp new file mode 100644 index 00000000..5893ac96 --- /dev/null +++ b/editor/dpi.cpp @@ -0,0 +1,13 @@ +#ifdef _WIN32 +#include "app.hpp" +#include + +namespace floormat { + +void app::set_dpi_aware() +{ + SetProcessDPIAware(); +} + +} // namespace floormat +#endif -- cgit v1.2.3