diff options
Diffstat (limited to 'code/fe310/eos/eve/screen/screen.h')
-rw-r--r-- | code/fe310/eos/eve/screen/screen.h | 11 |
1 files changed, 4 insertions, 7 deletions
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); |