diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-10-09 18:02:19 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-10-09 18:02:19 +0200 |
commit | 2d6cbf8a0bb81bfe55a7d4e04d53a704f93c6b2e (patch) | |
tree | 80bab0705a6d5aec8569a3ed626a33a6224cf4f0 /plugingui/nativewindow_cocoa.h | |
parent | 9b7299412d10e68c8aacc5f0debb7c80bf874120 (diff) |
Make FileBrowser window always-on-top and try to position it inside the plugin gui window rectangle.
Diffstat (limited to 'plugingui/nativewindow_cocoa.h')
-rw-r--r-- | plugingui/nativewindow_cocoa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/nativewindow_cocoa.h b/plugingui/nativewindow_cocoa.h index 3f0518a..74eb2f4 100644 --- a/plugingui/nativewindow_cocoa.h +++ b/plugingui/nativewindow_cocoa.h @@ -43,6 +43,7 @@ public: // From NativeWindow: virtual void setFixedSize(std::size_t width, std::size_t height) override; + virtual void setAlwaysOnTop(bool always_on_top) override; virtual void resize(std::size_t width, std::size_t height) override; virtual std::pair<std::size_t, std::size_t> getSize() const override; virtual void move(int x, int y) override; @@ -55,6 +56,7 @@ public: virtual void grabMouse(bool grab) override; virtual EventQueue getEvents() override; virtual void* getNativeWindowHandle() const override; + virtual Point translateToScreen(const Point& point) override; // Expose friend members of Window to ObjC++ implementation. class Window& getWindow(); |