diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-08 22:22:00 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-08 22:22:00 +0100 |
commit | 728abec962f993309acf3ebb1317b5f3773f18c7 (patch) | |
tree | ab4e22fd914681fa42babfcba184a932956c9667 /plugingui/window.h | |
parent | f762a1fbf4ccf565953855695ddd0bf60b34bf8e (diff) |
UI resize refactoring part 1.
Diffstat (limited to 'plugingui/window.h')
-rw-r--r-- | plugingui/window.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugingui/window.h b/plugingui/window.h index 705742f..0a10b3e 100644 --- a/plugingui/window.h +++ b/plugingui/window.h @@ -48,8 +48,12 @@ public: void setCaption(const std::string& caption); // From Widget: - void resize(int width, int height) override; - void move(size_t x, size_t y) override; + void resize(std::size_t width, std::size_t height) override; + void move(int x, int y) override; + int x() override; + int y() override; + size_t width() override; + size_t height() override; size_t windowX() override; size_t windowY() override; void show() override; @@ -73,7 +77,7 @@ protected: // For the EventHandler friend class EventHandler; void redraw(); - void resized(size_t w, size_t h); + void resized(std::size_t width, std::size_t height); void moved(int x, int y); void updateBuffer(); |