aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/gui/Window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-29 21:07:48 +0800
committercrupest <crupest@outlook.com>2022-01-29 21:07:48 +0800
commit30060773b06d93ae08a8c6fa5836c81e595594ed (patch)
treef333e807eef86442eff0b489bb2460bfbf99e794 /include/cru/platform/gui/Window.hpp
parent90261a333f251cc241f186f0ee6ed8e12787cc02 (diff)
downloadcru-30060773b06d93ae08a8c6fa5836c81e595594ed.tar.gz
cru-30060773b06d93ae08a8c6fa5836c81e595594ed.tar.bz2
cru-30060773b06d93ae08a8c6fa5836c81e595594ed.zip
...
Diffstat (limited to 'include/cru/platform/gui/Window.hpp')
-rw-r--r--include/cru/platform/gui/Window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/platform/gui/Window.hpp b/include/cru/platform/gui/Window.hpp
index 0de5127e..c163bc14 100644
--- a/include/cru/platform/gui/Window.hpp
+++ b/include/cru/platform/gui/Window.hpp
@@ -83,6 +83,8 @@ struct INativeWindow : virtual IPlatformResource {
virtual void SetCursor(std::shared_ptr<ICursor> cursor) = 0;
+ virtual void SetToForeground() = 0;
+
virtual void RequestRepaint() = 0;
// Remember to call EndDraw on return value and destroy it.