diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-10 17:52:32 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-08 19:29:07 +0200 |
commit | 0531409611867ae8dad711e52d6534fa634d40cc (patch) | |
tree | ac2bf00c7db33eb15ef98e6a63bf3ff7c03d073e /plugingui/nativewindow_win32.cc | |
parent | d866740fee61bdf1bbbb539bf9856b99e8152d89 (diff) |
Initial steps towards pugl domination!
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r-- | plugingui/nativewindow_win32.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 1de78fb..5cfb179 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -432,7 +432,7 @@ void NativeWindowWin32::resize(std::size_t width, std::size_t height) SetWindowPos(hwnd, nullptr, -1, -1, width + w, height + h, SWP_NOMOVE); } -std::pair<std::size_t, std::size_t> NativeWindowWin32::getSize() +std::pair<std::size_t, std::size_t> NativeWindowWin32::getSize() const { RECT rect; GetClientRect(m_hwnd, &rect); @@ -444,7 +444,7 @@ void NativeWindowWin32::move(int x, int y) SetWindowPos(m_hwnd, nullptr, (int)x, (int)y, -1, -1, SWP_NOSIZE); } -std::pair<int, int> NativeWindowWin32::getPosition() +std::pair<int, int> NativeWindowWin32::getPosition() const { RECT rect; GetClientRect(m_hwnd, &rect); |