Question
How to declare TextArea without using touchGFX Designer?
TextAreaWithOneWildcard textIllustration;
Unicode::UnicodeChar txtBuffer[40];
textIllustration.setXY(0, 0);
textIllustration.setColor(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
textIllustration.setLinespacing(0);
textIllustration.setWildcard(txtBuffer);
Unicode::snprintf(txtBuffer, 40, "%s", "hello world!");
textIllustration.invalidate();
add(textIllustration);I want to declare a TextArea without using touchGFX Designer.
So I use the code like this.
Of course,it crashed.
What am I miss?Or It's illegal.
