From 86aa553093084f9c2f04a5fb3d744b56b656ea3a Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 11 Jul 2020 03:58:45 +0200 Subject: screen/window/kbd window implemented; str widget tested --- code/fe310/eos/eve/screen/screen.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'code/fe310/eos/eve/screen/screen.h') diff --git a/code/fe310/eos/eve/screen/screen.h b/code/fe310/eos/eve/screen/screen.h index d6bc5e8..a9745ad 100644 --- a/code/fe310/eos/eve/screen/screen.h +++ b/code/fe310/eos/eve/screen/screen.h @@ -5,20 +5,17 @@ struct EVEWindow; typedef struct EVEScreen { uint16_t w; uint16_t h; + uint32_t mem_next; struct EVEWindow *win_head; struct EVEWindow *win_tail; EVEKbd *kbd; - struct EVEWindow *kbd_win; } EVEScreen; int eve_screen_init(EVEScreen *screen, uint16_t w, uint16_t h); -void eve_screen_set_kbd(EVEScreen *screen, EVEKbd *kbd) ; +void eve_screen_set_kbd(EVEScreen *screen, EVEKbd *kbd); EVEKbd *eve_screen_get_kbd(EVEScreen *screen); void eve_screen_show_kbd(EVEScreen *screen); void eve_screen_hide_kbd(EVEScreen *screen); -int eve_screen_win_insert(EVEScreen *screen, struct EVEWindow *window, int idx); -int eve_screen_win_remove(EVEScreen *screen, struct EVEWindow *window); -void eve_screen_win_append(EVEScreen *screen, struct EVEWindow *window); - -void eve_screen_handle_touch(EVEScreen *screen, uint8_t tag0, int touch_idx); +void eve_screen_draw(EVEScreen *screen); +void eve_screen_handle_touch(void *s, uint8_t tag0, int touch_idx); -- cgit v1.2.3