Added icon name

This commit is contained in:
CommanderRedYT
2021-12-08 23:40:30 +01:00
committed by GitHub
parent 1e26302340
commit 67027c7021

View File

@ -2,6 +2,8 @@
// system includes
#include <cstdint>
#include <optional>
#include <string>
namespace espgui {
template<uint16_t width, uint16_t height>
@ -11,5 +13,7 @@ struct Icon
static constexpr auto HEIGHT=height;
const unsigned short buffer[width*height];
std::optional<std::string> name{std::nullopt};
};
} // namespace espgui