summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/widget/screen.h
blob: d5b4534e969c6bb20eca7239e5f3d7aec6fcb751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdint.h>

struct EVETouch;
struct EVEWidget;

typedef struct EVERect {
    uint16_t x1;
    uint16_t y1;
    uint16_t x2;
    uint16_t y2;
} EVERect;

typedef struct EVEScreen {
    char ro;
    EVERect *visible;
    void (*handle_evt) (struct EVEScreen *, struct EVEWidget *, uint8_t, int, struct EVETouch *, uint16_t);
    void (*move) (struct EVEScreen *, struct EVEWidget *, EVERect *);
} EVEScreen;