diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-07-02 23:25:35 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-07-02 23:25:35 +0200 |
commit | f550a31fda2cb7d76e917ab69d075daa1557bf99 (patch) | |
tree | 107b6e78f23ede2054dfcf879345480788a85f29 /code/fe310/eos/eve/widget/text.c | |
parent | c25bf68c4702b20aea6ca99eb1edd5aca5f6d391 (diff) |
string init/draw implemented; page to screen coordinates implemented
Diffstat (limited to 'code/fe310/eos/eve/widget/text.c')
-rw-r--r-- | code/fe310/eos/eve/widget/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/eve/widget/text.c b/code/fe310/eos/eve/widget/text.c index a424b9d..a389fa7 100644 --- a/code/fe310/eos/eve/widget/text.c +++ b/code/fe310/eos/eve/widget/text.c @@ -37,11 +37,11 @@ void eve_textw_init(EVETextWidget *widget, EVERect *g, EVEFont *font, char *text memset(widget, 0, sizeof(EVETextWidget)); eve_widget_init(_widget, EVE_WIDGET_TYPE_TEXT, g, eve_textw_touch, eve_textw_draw, eve_textw_putc); + widget->font = font; widget->text = text; widget->text_size = text_size; widget->line = line; widget->line_size = line_size; - widget->font = font; if (text_size && line_size) eve_textw_update(widget, NULL, 0); } |