GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
CursorsHolder.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace gui_framework
6{
7 namespace utility
8 {
11 {
12 public:
13 CursorsHolder(uint16_t imagesWidth, uint16_t imagesHeight, size_t count = standard_sizes::defaultImagesCount);
14
19 HCURSOR getCursor(const std::filesystem::path& pathToCursor) const;
20
25 HCURSOR getCursor(uint16_t cursorIndex) const;
26
30 uint16_t addImage(const std::filesystem::path& pathToCursor) override;
31
32 ~CursorsHolder() = default;
33 };
34 }
35}
#define GUI_FRAMEWORK_API
Base class for all visual asset loaders.
HCURSOR getCursor(const std::filesystem::path &pathToCursor) const