blob: f3a1c778593710c64d87d63fe3c2b5b9bb5f73fe (
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 EVEView;
typedef int (*eve_view_touch_t) (struct EVEView *, uint8_t, int);
typedef uint8_t (*eve_view_draw_t) (struct EVEView *, uint8_t);
typedef struct EVEView {
eve_view_touch_t touch;
eve_view_draw_t draw;
} EVEView;
typedef struct EVEWindow {
EVERect g;
EVEView *view;
EVEScreen *screen;
struct EVEWindow *next;
} EVEWindow;
void eve_window_init(EVEWindow *window, EVERect *g, EVEView *view, EVEScreen *screen);
void eve_window_get_visible(EVEWindow *window, EVERect *g);
|