diff --git a/src/icon.h b/src/icon.h index 92dde15..8ca8a1d 100644 --- a/src/icon.h +++ b/src/icon.h @@ -11,5 +11,7 @@ struct Icon static constexpr auto HEIGHT=height; const unsigned short buffer[width*height]; + const char * const name{}; + }; } // namespace espgui diff --git a/src/icons/back.cpp b/src/icons/back.cpp index 998b11a..3a8ad02 100644 --- a/src/icons/back.cpp +++ b/src/icons/back.cpp @@ -39,6 +39,6 @@ const Icon<24, 24> back{{ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0109, 0x01AD, 0x018C, // 0x0220 (544) pixels 0x22B0, 0x32F0, 0x761E, 0x016C, 0x1A2E, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0230 (560) pixels 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x014B, 0x018C, 0x018C, 0x09CD, 0x4C77, 0x012B, 0x1A0E, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0240 (576) pixels -}}; +},"back"}; } // namespace icons } // namespace espgui diff --git a/src/icons/checked.cpp b/src/icons/checked.cpp index 45f7f54..0933183 100644 --- a/src/icons/checked.cpp +++ b/src/icons/checked.cpp @@ -39,6 +39,6 @@ const Icon<24, 24> checked{{ 0x0000, 0x0020, 0x0000, 0x630D, 0x8C71, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, // 0x0220 (544) pixels 0x8C71, 0x8410, 0x8C51, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0230 (560) pixels 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0240 (576) pixels -}}; +}, "checked"}; } // namespace icons } // namespace espgui diff --git a/src/icons/unchecked.cpp b/src/icons/unchecked.cpp index d16ff69..5944189 100644 --- a/src/icons/unchecked.cpp +++ b/src/icons/unchecked.cpp @@ -39,6 +39,6 @@ const Icon<24, 24> unchecked{{ 0x0000, 0x0020, 0x0000, 0x630D, 0x8C71, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, 0x8C51, // 0x0220 (544) pixels 0x8C71, 0x8410, 0x8C51, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0230 (560) pixels 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0240 (576) pixels -}}; +},"unchecked"}; } // namespace icons } // namespace espgui