summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/eve_kbd.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-06-09 00:32:34 +0200
committerUros Majstorovic <majstor@majstor.org>2020-06-09 00:32:34 +0200
commitb5aa60b256dd2b328515779883ba365aba3d995f (patch)
treeb937738559310e19fa79e927825810b4c4af1e97 /code/fe310/eos/eve/eve_kbd.h
parentd9bf3b288ce5f6e84f7e6079948fdf0735b4711f (diff)
EVEView iface fixed; screen keyboard window implemented
Diffstat (limited to 'code/fe310/eos/eve/eve_kbd.h')
-rw-r--r--code/fe310/eos/eve/eve_kbd.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/code/fe310/eos/eve/eve_kbd.h b/code/fe310/eos/eve/eve_kbd.h
index 4711421..b27f54d 100644
--- a/code/fe310/eos/eve/eve_kbd.h
+++ b/code/fe310/eos/eve/eve_kbd.h
@@ -3,10 +3,7 @@
typedef void (*eve_kbd_input_handler_t) (void *, int);
typedef struct EVEKbd {
- int16_t x;
- int16_t y;
- uint16_t w;
- uint16_t h;
+ EVERect g;
uint32_t mem_addr;
uint16_t mem_size;
uint8_t key_count;
@@ -19,7 +16,7 @@ typedef struct EVEKbd {
void *param;
} EVEKbd;
-void eve_kbd_init(EVEKbd *kbd, uint32_t mem_addr, uint32_t *mem_next);
+void eve_kbd_init(EVEKbd *kbd, EVERect *g, uint32_t mem_addr, uint32_t *mem_next);
void eve_kbd_set_handler(EVEKbd *kbd, eve_kbd_input_handler_t putc, void *param);
int eve_kbd_touch(EVEKbd *kbd, uint8_t tag0, int touch_idx);
uint8_t eve_kbd_draw(EVEKbd *kbd);