diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-28 19:28:35 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-28 19:28:35 +0800 |
| commit | e4fd76c113e43aa0fa00cf05a14cb12db080ba78 (patch) | |
| tree | 4174347e22625aa4e0151ece714708d46c10bfd1 /include/cru/platform/gui/sdl/Window.h | |
| parent | fa9e88a3a753de0f7a33efcf6a2671c28f099ba3 (diff) | |
| download | cru-e4fd76c113e43aa0fa00cf05a14cb12db080ba78.tar.gz cru-e4fd76c113e43aa0fa00cf05a14cb12db080ba78.tar.bz2 cru-e4fd76c113e43aa0fa00cf05a14cb12db080ba78.zip | |
Impl cursor on sdl.
Diffstat (limited to 'include/cru/platform/gui/sdl/Window.h')
| -rw-r--r-- | include/cru/platform/gui/sdl/Window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/platform/gui/sdl/Window.h b/include/cru/platform/gui/sdl/Window.h index 22b797b5..58dd9785 100644 --- a/include/cru/platform/gui/sdl/Window.h +++ b/include/cru/platform/gui/sdl/Window.h @@ -90,6 +90,7 @@ class SdlWindow : public SdlResource, public virtual INativeWindow { void DoUpdateParent(); void DoUpdateStyleFlag(); void DoUpdateTitle(); + void DoUpdateCursor(); bool HandleEvent(const SDL_Event* event); @@ -102,5 +103,6 @@ class SdlWindow : public SdlResource, public virtual INativeWindow { EventHandlerRevokerGuard parent_create_guard_; WindowStyleFlag style_; std::string title_; + std::shared_ptr<ICursor> cursor_; }; } // namespace cru::platform::gui::sdl |
