aboutsummaryrefslogtreecommitdiff
path: root/src/ui/cursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/cursor.cpp')
-rw-r--r--src/ui/cursor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/cursor.cpp b/src/ui/cursor.cpp
index cf88cd25..91b94b16 100644
--- a/src/ui/cursor.cpp
+++ b/src/ui/cursor.cpp
@@ -21,5 +21,12 @@ namespace cru::ui
Cursor::Ptr arrow{};
Cursor::Ptr hand{};
Cursor::Ptr i_beam{};
+
+ void LoadSystemCursors()
+ {
+ arrow = std::make_shared<Cursor>(::LoadCursorW(nullptr, IDC_ARROW), false);
+ hand = std::make_shared<Cursor>(::LoadCursorW(nullptr, IDC_HAND), false);
+ i_beam = std::make_shared<Cursor>(::LoadCursorW(nullptr, IDC_IBEAM), false);
+ }
}
}