-
Notifications
You must be signed in to change notification settings - Fork 0
Text component
Igor Usenko edited this page May 20, 2022
·
4 revisions
Displays text content on the screen
-
content
- text for display -
size
- font size -
fontColor
- color of the font -
backColor
- color of the background -
font
- fonts code -
provide
- function provider of the content and other state properties
A function with such declaration
typedef void (*Provide)(TextState *state);
This function is called each time when screen renders see render
and newState
. The responsibility of this function is to update the component state
.