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
4
5namespace gui_framework
6{
7 namespace utility
8 {
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}
#define GUI_FRAMEWORK_API
Base class for all visual asset loaders.
HICON getIcon(const std::filesystem::path &pathToIcon) const