From 0531409611867ae8dad711e52d6534fa634d40cc Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 10 Sep 2017 17:52:32 +0200 Subject: Initial steps towards pugl domination! --- plugingui/nativewindow_win32.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/nativewindow_win32.cc') 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 NativeWindowWin32::getSize() +std::pair 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 NativeWindowWin32::getPosition() +std::pair NativeWindowWin32::getPosition() const { RECT rect; GetClientRect(m_hwnd, &rect); -- cgit v1.2.3