diff options
Diffstat (limited to 'src/managers/CursorManager.hpp')
| -rw-r--r-- | src/managers/CursorManager.hpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/managers/CursorManager.hpp b/src/managers/CursorManager.hpp index 4324dfb4..44ab2e7b 100644 --- a/src/managers/CursorManager.hpp +++ b/src/managers/CursorManager.hpp @@ -83,14 +83,15 @@ class CCursorManager { }; struct SXCursorManager { - void loadTheme(const std::string& name, int size); - - int lastLoadSize = 0; - - bool themeLoaded = false; - std::string themeName = ""; - SP<SXCursor> defaultCursor; - std::unordered_map<std::string, SP<SXCursor>> cursors; + void loadTheme(const std::string& name, int size); + std::string getLegacyShapeName(std::string const& shape); + SP<SXCursor> createDefaultCursor(); + + int lastLoadSize = 0; + bool themeLoaded = false; + std::string themeName = ""; + SP<SXCursor> defaultCursor; + std::vector<std::pair<std::string, SP<SXCursor>>> cursors; } xcursor; }; |
