blob: 2f3f3ac21d619e5d7d1d76b122744e65dfc18775 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdint.h>
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;
} EVEScreen;
int eve_screen_init(EVEScreen *screen, uint16_t w, uint16_t h);
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);
void eve_screen_draw(EVEScreen *screen);
void eve_screen_handle_touch(EVETouch *touch, uint16_t evt, uint8_t tag0, void *s);
|