diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-19 04:48:56 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-19 04:48:56 +0100 |
commit | b66e67e3a5f2680ee0e44228fce0fcaeff87206b (patch) | |
tree | 3d62a0990d66a680ff51a8bf868fc44031607c69 /code/fe310/eos/eve_text.h | |
parent | 6c891c9ffb491146e991e7936f6bb8408bcf2a9a (diff) |
eve textbox added; eve cmd result function added
Diffstat (limited to 'code/fe310/eos/eve_text.h')
-rw-r--r-- | code/fe310/eos/eve_text.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/code/fe310/eos/eve_text.h b/code/fe310/eos/eve_text.h new file mode 100644 index 0000000..e882195 --- /dev/null +++ b/code/fe310/eos/eve_text.h @@ -0,0 +1,20 @@ +#include <stdint.h> + +typedef struct EVETextBox { + uint16_t buf_addr; + int buf_line_h; + int w; + int h; + int x; + int y; + int buf_idx; + int line_idx; + uint16_t dl_offset; + uint8_t bitmap_handle; +} EVETextBox; + +void eos_eve_text_init(EVETextBox *box, uint16_t buf_addr, int buf_line_h, int w, int h, int x, int y, uint8_t bitmap_handle); +void eos_eve_text_update(EVETextBox *box); +void eos_eve_text_draw(EVETextBox *box); +void eos_eve_text_putc(EVETextBox *box, int c); +void eos_eve_text_newline(EVETextBox *box);
\ No newline at end of file |