|
Fonctions membres publiques |
| SoFont () |
| ~SoFont () |
bool | load (SDL_Surface *FontSurface) |
void | PutString (SDL_Surface *Surface, int x, int y, const char *text, SDL_Rect *clip=NULL) |
void | PutStringWithCursor (SDL_Surface *Surface, int x, int y, const char *text, int cursPos, SDL_Rect *clip=NULL, bool showCurs=true) |
int | TextWidth (const char *text, int min=0, int max=255) |
int | FontHeight () |
void | XCenteredString (SDL_Surface *Surface, int y, const char *text, SDL_Rect *clip=NULL) |
void | CenteredString (SDL_Surface *Surface, const char *text, SDL_Rect *clip=NULL) |
void | CenteredString (SDL_Surface *Surface, int x, int y, const char *text, SDL_Rect *clip=NULL) |
void | PutStringCleverCursor (SDL_Surface *Surface, const char *text, int cursPos, SDL_Rect *r, SDL_Rect *clip=NULL, bool showCurs=true) |
int | TextCursorAt (const char *text, int px) |
int | CleverTextCursorAt (const char *text, int px, int cursPos, SDL_Rect *r) |
int | getMinChar () |
int | getMaxChar () |
void | InternalInput (SDL_Surface *Dest, int x, int y, int PixelWidth, char *text) |
void | Input (SDL_Surface *Dest, int x, int y, int PixelWidth, char *text) |
Fonctions membres protégées |
bool | DoStartNewChar (Sint32 x) |
void | CleanSurface () |
Attributs protégés |
int | height |
SDL_Surface * | picture |
int * | CharPos |
int * | Spacing |
int | max_i |
int | spacew |
int | cursShift |
Uint32 | background |