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/nativewindow_x11.h | |
parent | f762a1fbf4ccf565953855695ddd0bf60b34bf8e (diff) |
UI resize refactoring part 1.
Diffstat (limited to 'plugingui/nativewindow_x11.h')
-rw-r--r-- | plugingui/nativewindow_x11.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugingui/nativewindow_x11.h b/plugingui/nativewindow_x11.h index f36be51..10c2026 100644 --- a/plugingui/nativewindow_x11.h +++ b/plugingui/nativewindow_x11.h @@ -44,9 +44,11 @@ public: ~NativeWindowX11(); // From NativeWindow: - void setFixedSize(int width, int height) override; - void resize(int width, int height) override; + void setFixedSize(std::size_t width, std::size_t height) override; + void resize(std::size_t width, std::size_t height) override; + std::pair<std::size_t, std::size_t> getSize() override; void move(int x, int y) override; + std::pair<int, int> getPosition() override; void show() override; void hide() override; void setCaption(const std::string &caption) override; |