GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IconsHolder.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
IconsHolder
final :
public
BaseLoadableHolder
11
{
12
public
:
13
IconsHolder
(uint16_t imagesWidth, uint16_t imagesHeight,
size_t
count = standard_sizes::defaultImagesCount);
14
19
HICON
getIcon
(
const
std::filesystem::path& pathToIcon)
const
;
20
25
HICON getIcon(uint16_t iconIndex)
const
;
26
30
uint16_t addImage(
const
std::filesystem::path& pathToIcon)
override
;
31
32
~IconsHolder
() =
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::IconsHolder
Icons loader.
Definition
IconsHolder.h:11
gui_framework::utility::IconsHolder::~IconsHolder
~IconsHolder()=default
gui_framework::utility::IconsHolder::getIcon
HICON getIcon(const std::filesystem::path &pathToIcon) const
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Holders
LoadableHolders
IconsHolder.h
Generated by
1.12.0