Project

General

Profile

Revision 297

chat working

View differences:

font.c
133 133
void (text_set_color) (text_t *p, uint32_t color         ){ p->color = color  ; }
134 134
void (text_set_valign)(text_t *p, enum text_valign valign){ p->valign = valign; }
135 135
void (text_set_halign)(text_t *p, enum text_halign halign){ p->halign = halign; }
136
int16_t (text_get_x)  (const text_t *p){ return p->x; }
137
int16_t (text_get_y)  (const text_t *p){ return p->y; }
136 138

  
137 139
int (text_draw)(const text_t *p){
138 140
    if(p == NULL) return NULL_PTR;

Also available in: Unified diff