summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-09-10 17:52:32 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-06-08 19:29:07 +0200
commit0531409611867ae8dad711e52d6534fa634d40cc (patch)
treeac2bf00c7db33eb15ef98e6a63bf3ff7c03d073e /plugingui/nativewindow.h
parentd866740fee61bdf1bbbb539bf9856b99e8152d89 (diff)
Initial steps towards pugl domination!
Diffstat (limited to 'plugingui/nativewindow.h')
-rw-r--r--plugingui/nativewindow.h4
1 files changed, 2 insertions, 2 deletions
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<std::size_t, std::size_t> getSize() = 0;
+ virtual std::pair<std::size_t, std::size_t> 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<int, int> getPosition() = 0;
+ virtual std::pair<int, int> getPosition() const = 0;
//! Show the window if it is hidden.
virtual void show() = 0;