GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ImagesHolder.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 ImagesHolder(uint16_t imagesWidth, uint16_t imagesHeight, size_t count = standard_sizes::defaultImagesCount);
14
19 HBITMAP getImage(const std::filesystem::path& pathToImage) const;
20
25 HBITMAP getImage(uint16_t imageIndex) const;
26
30 uint16_t addImage(const std::filesystem::path& pathToImage) override;
31
32 ~ImagesHolder() = default;
33 };
34 }
35}
#define GUI_FRAMEWORK_API
Base class for all visual asset loaders.
HBITMAP getImage(const std::filesystem::path &pathToImage) const