diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-06-09 00:32:34 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-06-09 00:32:34 +0200 |
commit | b5aa60b256dd2b328515779883ba365aba3d995f (patch) | |
tree | b937738559310e19fa79e927825810b4c4af1e97 /code/fe310/eos/eve/eve_text.h | |
parent | d9bf3b288ce5f6e84f7e6079948fdf0735b4711f (diff) |
EVEView iface fixed; screen keyboard window implemented
Diffstat (limited to 'code/fe310/eos/eve/eve_text.h')
-rw-r--r-- | code/fe310/eos/eve/eve_text.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/code/fe310/eos/eve/eve_text.h b/code/fe310/eos/eve/eve_text.h index 0ccf62a..141816c 100644 --- a/code/fe310/eos/eve/eve_text.h +++ b/code/fe310/eos/eve/eve_text.h @@ -1,8 +1,7 @@ #include <stdint.h> typedef struct EVEText { - int16_t x; - int16_t y; + EVERect g; uint16_t w; uint16_t h; uint32_t mem_addr; @@ -20,7 +19,7 @@ typedef struct EVEText { char dirty; } EVEText; -void eve_text_init(EVEText *box, int16_t x, int16_t y, uint16_t w, uint16_t h, double scale_x, double scale_y, uint8_t tag, uint16_t line_size, uint32_t mem_addr, uint32_t *mem_next); +void eve_text_init(EVEText *box, EVERect *g, uint16_t w, uint16_t h, uint8_t tag, uint16_t line_size, uint32_t mem_addr, uint32_t *mem_next); int eve_text_touch(EVEText *box, uint8_t tag0, int touch_idx); uint8_t eve_text_draw(EVEText *box); int eve_text_putc(EVEText *box, int c); |