aboutsummaryrefslogtreecommitdiff
path: root/src/win/native/dpi_util.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-06-27 17:02:58 +0800
committercrupest <crupest@outlook.com>2019-06-27 17:02:58 +0800
commitb53527fbe50a953ad0e3225cc812eb76b8a1f82d (patch)
treeeb81cd14d0a165c47f841ad94835f8987109de7e /src/win/native/dpi_util.hpp
parent8c5b05bcfce96495b4ffc4209ab8feda12597729 (diff)
downloadcru-b53527fbe50a953ad0e3225cc812eb76b8a1f82d.tar.gz
cru-b53527fbe50a953ad0e3225cc812eb76b8a1f82d.tar.bz2
cru-b53527fbe50a953ad0e3225cc812eb76b8a1f82d.zip
...
Diffstat (limited to 'src/win/native/dpi_util.hpp')
-rw-r--r--src/win/native/dpi_util.hpp4
1 files changed, 2 insertions, 2 deletions
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