|
gKit2 light
|
Go to the source code of this file.
Classes | |
| struct | Text |
Functions | |
| Text | create_text () |
| cree une console. a detruire avec release_text( ). More... | |
| void | release_text (Text &text) |
| detruit une console. More... | |
| void | clear (Text &text) |
| efface le contenu de la console. More... | |
| void | print_background (Text &text, const int x, const int y, const int background, const char c) |
| affiche un caractere c sur un fond background. More... | |
| void | print_background (Text &text, const int x, const int y, const char *message) |
| affiche un caractere c sur un fond par defaut. More... | |
| void | print (Text &text, const int x, const int y, const char *message) |
| affiche un texte a la position x, y. More... | |
| void | printf_background (Text &text, const int x, const int y, const char *format,...) |
| affiche un texte a la position x, y sur un fond par defaut. More... | |
| void | printf (Text &text, const int x, const int y, const char *format,...) |
| affiche un texte a la position x, y. meme utilisation que printf(). More... | |
| void | default_color (Text &text, const Color &color) |
| choisit une couleur par defaut pour le texte. More... | |
| void | draw (const Text &text, const int width, const int height) |
| dessine la console. More... | |
console texte minimaliste de taille fixe : 24 lignes et 128 colonnes.
permet de placer une chaine de caracteres n'importe ou dans la console. utilise la meme convention que printf().
exemple :
Definition in file text.h.