1 #ifndef FONT_SANDAL2_KLEVH     2 #define FONT_SANDAL2_KLEVH    16 #define SANDAL2_SOLID 0    18 #define SANDAL2_SHADED 1    20 #define SANDAL2_BLENDED 2    23 #define SANDAL2_BOLD TTF_STYLE_BOLD    25 #define SANDAL2_ITALIC TTF_STYLE_ITALIC    27 #define SANDAL2_UNDERLINE TTF_STYLE_UNDERLINE    29 #define SANDAL2_STRIKETHROUGH TTF_STYLE_STRIKETHROUGH    31 #define SANDAL2_NORMAL TTF_STYLE_NORMAL    68 Font* 
createFont(
const char *fontPath,
const char * texte,
int color[4], 
int quality);
 int setStyleFont(Font *font, int style)
set the text's font style 
Definition: Font.c:258
 
TTF_Font * font
Definition: Font.h:45
 
int getStyleFont(Font *font, int *style)
Definition: Font.c:303
 
void freeFont(Font *font)
free the memory of a Font 
Definition: Font.c:74
 
SDL_Color color
Definition: Font.h:51
 
ListWindow * _windows_SANDAL2
List of the windows WARNING : do not touch it ... trust me. 
Definition: Window.c:3
 
Informations about font. 
Definition: Font.h:44
 
int setColorFont(Font *font, int color[4])
actualize the color of the Font 
Definition: Font.c:211
 
int quality
Definition: Font.h:47
 
int actualizeTextFont(Font *font, int isScripted)
actualize the text to cript it or uncript it 
Definition: Font.c:89
 
Font * createFont(const char *fontPath, const char *texte, int color[4], int quality)
generate a Font using the path to the font, the text and the color of the text (use the window's back...
Definition: Font.c:6
 
int setTextFont(Font *font, const char *text)
actualize the text of a Font 
Definition: Font.c:165
 
char * text
Definition: Font.h:49
 
SDL_Texture * texture
Definition: Font.h:53
 
Contains all structures related to windows but only those unrelated to Elements. 
 
list of windows 
Definition: Window.h:128