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_win32.h | |
parent | f762a1fbf4ccf565953855695ddd0bf60b34bf8e (diff) |
UI resize refactoring part 1.
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r-- | plugingui/nativewindow_win32.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugingui/nativewindow_win32.h b/plugingui/nativewindow_win32.h index 110085c..8282c6f 100644 --- a/plugingui/nativewindow_win32.h +++ b/plugingui/nativewindow_win32.h @@ -44,9 +44,11 @@ public: NativeWindowWin32(void* native_window, Window& window); ~NativeWindowWin32(); - 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 setCaption(const std::string &caption) override; void hide() override; |