Revision 250
in-game timer
font.c | ||
---|---|---|
128 | 128 |
if(p->txt == NULL) return; |
129 | 129 |
strcpy(p->txt, txt); |
130 | 130 |
} |
131 |
char* (text_get_string)(const text_t *p){return p->txt; } |
|
131 | 132 |
void (text_set_pos) (text_t *p, int16_t x, int16_t y ){ p->x = x; p->y = y; } |
132 | 133 |
void (text_set_size) (text_t *p, unsigned size ){ p->size = size ; } |
133 | 134 |
void (text_set_color) (text_t *p, uint32_t color ){ p->color = color ; } |
Also available in: Unified diff