|
void | dummy_drawg (uint gid) |
|
void | dummy_erase (int left, int top, int right, int bottom) |
|
INLINE char * | eatwhite (const char *str) |
|
void | tte_set_context (TTC *tc) |
| Set the master context pointer.
|
|
void | tte_set_color_attr (eint type, u16 cattr) |
| Set color attribute of type to cattr.
|
|
void | tte_set_color_attrs (const u16 cattrs[]) |
| Load important color attribute data.
|
|
void | tte_set_color (eint type, u16 color) |
| Set color attribute of type to cattr.
|
|
void | tte_set_colors (const u16 colors[]) |
| Load important color data.
|
|
void | tte_init_base (const TFont *font, fnDrawg drawProc, fnErase eraseProc) |
| Base initializer of a TTC.
|
|
uint | utf8_decode_char (const char *ptr, char **endptr) |
| Retrieve a single multibyte utf8 character.
|
|
char * | tte_cmd_skip (const char *str) |
| Find the string-position after the command.
|
|
char * | tte_cmd_next (const char *str) |
| Move to the next command in a sequence.
|
|
char * | tte_cmd_default (const char *str) |
| Text command handler.
|
|
int | tte_write_ex (int x0, int y0, const char *text, const u16 *cattrs) |
| Extended string writer, with positional and color info.
|
|
int | tte_putc (int ch) |
| Plot a single character; does wrapping too.
|
|
int | tte_write (const char *text) |
| Render a string.
|
|
void | tte_erase_rect (int left, int top, int right, int bottom) |
| Erase a porttion of the screen (ignores margins)
|
|
void | tte_erase_screen () |
| Erase the screen (within the margins).
|
|
void | tte_erase_line () |
| Erase the whole line (within the margins).
|
|
POINT16 | tte_get_text_size (const char *str) |
| Get the size taken up by a string.
|
|
void | tte_set_margins (int left, int top, int right, int bottom) |
|