Suggestion for Typography/TypographyFontIndex, and this use of struct construct in general
Hi GFX team,
GFX auto generates Typography/TypographyFontIndex structs in "\generated\fonts\include\fonts\ApplicationFontProvider.hpp"
struct Typography
{
static const touchgfx::FontId DEFAULT = 0;
};
Could you consider adding a tag that would alias type of struct members ie:
struct Typography
{
using type_t = touchgfx::FontId;
static const touchgfx::FontId DEFAULT = 0;
};
This would allow to write eg funtion with Typography as a parameter:
void functUsingTypography ( Typography::type_t tpg );
Thanks
