token_str animates a string letter by letter.token_str takes four arguments
Understanding Arguments:
mode:
Mode is a first argument of type string.There are two mode as
- Original (It token and animates string without reversing the string)
- Reverse (It token and animates string after reversing the string)
Speed:
Second argument of type integer.Here you can set speed of animation.
Color:
Here you can set the color of string. Please read [this] page for information about colors in Cquery.
String:
Desired string to be animated.
Examples:
#include<cquery.h> void main(void) { token_str("original",100,"orange","hellllllooooooo wooorrrllllddd"); printf("\n\n\"); token_str("reverse",100,"orange","hellllllooooooo wooorrrllllddd"); }
No comments:
Post a Comment