glitch_text¶
API to draw glitch text on QP screens.
-
int glitch_text_start(const glitch_text_config_t *config, const char *str)¶
[source] Start glitch animation targeting the given text. For each frame, callback gets invoked with the text to be rendered
Attention
Text can be at most 64 chars long.
- Return: Error code
0
: Color was found, and assigned into pointer.-EINVAL
: Invalid input.