summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_text.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-26 02:06:39 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-26 02:06:39 +0200
commit48d934f5b422d87a59ffb38e6215a851f28c1b0e (patch)
tree74f7b9d78261c68e09aace1e09e4dc9052eef3cc /fw/fe310/eos/eve/eve_text.h
parent3b4ddebe631b14d15abe7355fbabe53e08c61a61 (diff)
eve text box fixed
Diffstat (limited to 'fw/fe310/eos/eve/eve_text.h')
-rw-r--r--fw/fe310/eos/eve/eve_text.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/fw/fe310/eos/eve/eve_text.h b/fw/fe310/eos/eve/eve_text.h
index a76e659..8f1ed71 100644
--- a/fw/fe310/eos/eve/eve_text.h
+++ b/fw/fe310/eos/eve/eve_text.h
@@ -19,12 +19,14 @@ typedef struct EVEText {
char dirty;
} EVEText;
-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);
+void eve_text_init(EVEText *box, EVERect *g, uint16_t w, uint16_t h, uint16_t line_size, uint32_t mem_addr, uint32_t *mem_next);
+void eve_text_update(EVEText *box);
+void eve_text_scroll0(EVEText *box);
+
int eve_text_touch(EVEText *box, uint8_t tag0, int touch_idx);
-uint8_t eve_text_draw(EVEText *box);
+uint8_t eve_text_draw(EVEText *box, uint8_t tag);
void eve_text_putc(EVEText *box, int c);
-void eve_text_puts(EVEText *box, char *s);
-void eve_text_update(EVEText *box);
-void eve_text_newline(EVEText *box);
void eve_text_backspace(EVEText *box);
+void eve_text_newline(EVEText *box);
+void eve_text_puts(EVEText *box, char *s);