summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r--plugingui/nativewindow_win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/nativewindow_win32.h b/plugingui/nativewindow_win32.h
index d547dc0..046b38a 100644
--- a/plugingui/nativewindow_win32.h
+++ b/plugingui/nativewindow_win32.h
@@ -45,6 +45,7 @@ public:
~NativeWindowWin32();
void setFixedSize(std::size_t width, std::size_t height) override;
+ void setAlwaysOnTop(bool always_on_top) override;
void resize(std::size_t width, std::size_t height) override;
std::pair<std::size_t, std::size_t> getSize() const override;
void move(int x, int y) override;
@@ -57,6 +58,7 @@ public:
void grabMouse(bool grab) override;
EventQueue getEvents() override;
void* getNativeWindowHandle() const override;
+ Point translateToScreen(const Point& point) override;
private:
static LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
@@ -70,6 +72,7 @@ private:
std::pair<int, int> last_mouse_position{0, 0};
char* m_className = nullptr;
EventQueue event_queue;
+ bool always_on_top{false};
};
} // GUI::