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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/nativewindow.h') diff --git a/plugingui/nativewindow.h b/plugingui/nativewindow.h index 6dcb308..3995d43 100644 --- a/plugingui/nativewindow.h +++ b/plugingui/nativewindow.h @@ -52,7 +52,7 @@ public: virtual void resize(std::size_t width, std::size_t height) = 0; //! Query size of the native window. - virtual std::pair getSize() = 0; + virtual std::pair getSize() const = 0; //! Move the window to a new position. //! Note: negative value are allowed. @@ -60,7 +60,7 @@ public: //! Query the screen position of the native window. //! Note: returned values can be negative. - virtual std::pair getPosition() = 0; + virtual std::pair getPosition() const = 0; //! Show the window if it is hidden. virtual void show() = 0; -- cgit v1.2.3