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
3
#include "
BaseLoadableHolder.h
"
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
10
class
GUI_FRAMEWORK_API
CursorsHolder
final :
public
BaseLoadableHolder
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
}
BaseLoadableHolder.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
gui_framework::utility::BaseLoadableHolder
Base class for all visual asset loaders.
Definition
BaseLoadableHolder.h:22
gui_framework::utility::CursorsHolder
Cursors loader.
Definition
CursorsHolder.h:11
gui_framework::utility::CursorsHolder::getCursor
HCURSOR getCursor(const std::filesystem::path &pathToCursor) const
gui_framework::utility::CursorsHolder::~CursorsHolder
~CursorsHolder()=default
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Holders
LoadableHolders
CursorsHolder.h
Generated by
1.12.0