Stores icon data in reserved space.
More...
#include <icon.hpp>
|
| | Icon () |
| | Default constructor, initializes to empty icon.
|
| |
| | Icon (char *ext, char *data, uint64_t size) |
| | Constructs an icon with the specified data.
|
| |
Stores icon data in reserved space.
Packed structure for embedding icon image data within the FlatImage binary.
Definition at line 44 of file icon.hpp.
◆ Icon() [1/2]
| ns_reserved::ns_icon::Icon::Icon |
( |
| ) |
|
|
inline |
Default constructor, initializes to empty icon.
Definition at line 53 of file icon.hpp.
◆ Icon() [2/2]
| ns_reserved::ns_icon::Icon::Icon |
( |
char * | ext, |
|
|
char * | data, |
|
|
uint64_t | size ) |
|
inline |
Constructs an icon with the specified data.
- Parameters
-
| ext | File extension (3 characters + null terminator) |
| data | Icon image data |
| size | Size of the icon data in bytes |
Definition at line 66 of file icon.hpp.
◆ m_data
| char ns_reserved::ns_icon::Icon::m_data[(1<< 20) - 12] |
◆ m_ext
| char ns_reserved::ns_icon::Icon::m_ext[4] |
◆ m_size
| uint64_t ns_reserved::ns_icon::Icon::m_size |
The documentation for this struct was generated from the following file: