From b53527fbe50a953ad0e3225cc812eb76b8a1f82d Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Jun 2019 17:02:58 +0800 Subject: ... --- src/win/native/dpi_util.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/win/native/dpi_util.hpp') diff --git a/src/win/native/dpi_util.hpp b/src/win/native/dpi_util.hpp index d459e8c6..a642fd79 100644 --- a/src/win/native/dpi_util.hpp +++ b/src/win/native/dpi_util.hpp @@ -5,7 +5,7 @@ // The dpi awareness needs to be implemented in the future. Currently we use 96 // as default. -namespace cru::win::native { +namespace cru::platform::native::win { inline platform::native::Dpi GetDpi() { return platform::native::Dpi{96.0f, 96.0f}; } @@ -33,4 +33,4 @@ inline float PixelToDipX(const int pixel_x) { inline float PixelToDipY(const int pixel_y) { return DipToPixelInternal(pixel_y, GetDpi().y); } -} // namespace cru::win::native +} // namespace cru::platform::native::win -- cgit v1.2.3