Added icon name
This commit is contained in:
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
// system includes
|
// system includes
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
#include <optional>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
namespace espgui {
|
namespace espgui {
|
||||||
template<uint16_t width, uint16_t height>
|
template<uint16_t width, uint16_t height>
|
||||||
@ -11,5 +13,7 @@ struct Icon
|
|||||||
static constexpr auto HEIGHT=height;
|
static constexpr auto HEIGHT=height;
|
||||||
|
|
||||||
const unsigned short buffer[width*height];
|
const unsigned short buffer[width*height];
|
||||||
|
std::optional<std::string> name{std::nullopt};
|
||||||
|
|
||||||
};
|
};
|
||||||
} // namespace espgui
|
} // namespace espgui
|
||||||
|
Reference in New Issue
Block a user