diff options
Diffstat (limited to 'plugingui/layout.h')
-rw-r--r-- | plugingui/layout.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/layout.h b/plugingui/layout.h index bd64fdd..4d20eb6 100644 --- a/plugingui/layout.h +++ b/plugingui/layout.h @@ -46,10 +46,10 @@ public: virtual void resize(std::size_t width, std::size_t height) = 0; virtual void move(int x, int y) = 0; - virtual int x() = 0; - virtual int y() = 0; - virtual std::size_t width() = 0; - virtual std::size_t height() = 0; + virtual int x() const = 0; + virtual int y() const = 0; + virtual std::size_t width() const = 0; + virtual std::size_t height() const = 0; private: Layout* parent; |