Go to the source code of this file.
|
typedef struct TextDrawContext | TextDrawContext |
|
static void | text_draw_context_init (const SpaceText *st, TextDrawContext *tdc) |
|
static void | text_font_begin (const TextDrawContext *tdc) |
|
static void | text_font_end (const TextDrawContext *UNUSED(tdc)) |
|
static int | text_font_draw (const TextDrawContext *tdc, int x, int y, const char *str) |
|
static int | text_font_draw_character (const TextDrawContext *tdc, int x, int y, char c) |
|
static int | text_font_draw_character_utf8 (const TextDrawContext *tdc, int x, int y, const char *c, const int c_len) |
|
static void | format_draw_color (const TextDrawContext *tdc, char formatchar) |
|
◆ TextDrawContext
◆ format_draw_color()
Definition at line 110 of file text_draw.c.
References FMT_TYPE_COMMENT, FMT_TYPE_DEFAULT, FMT_TYPE_DIRECTIVE, FMT_TYPE_KEYWORD, FMT_TYPE_NUMERAL, FMT_TYPE_RESERVED, FMT_TYPE_SPECIAL, FMT_TYPE_STRING, FMT_TYPE_SYMBOL, FMT_TYPE_WHITESPACE, TextDrawContext::font_id, TH_SYNTAX_B, TH_SYNTAX_C, TH_SYNTAX_D, TH_SYNTAX_L, TH_SYNTAX_N, TH_SYNTAX_R, TH_SYNTAX_S, TH_SYNTAX_V, TH_TEXT, and UI_FontThemeColor().
◆ text_draw_context_init()
◆ text_font_begin()
◆ text_font_draw()
static int text_font_draw |
( |
const TextDrawContext * |
tdc, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const char * |
str |
|
) |
| |
|
static |
◆ text_font_draw_character()
static int text_font_draw_character |
( |
const TextDrawContext * |
tdc, |
|
|
int |
x, |
|
|
int |
y, |
|
|
char |
c |
|
) |
| |
|
static |
◆ text_font_draw_character_utf8()
static int text_font_draw_character_utf8 |
( |
const TextDrawContext * |
tdc, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const char * |
c, |
|
|
const int |
c_len |
|
) |
| |
|
static |
◆ text_font_end()