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

struct EVEWidget;

typedef struct EVEForm {
    EVEPage p;
    struct EVEWidget *widget_f;
    struct EVEWidget *widget;
    uint16_t widget_size;
} EVEForm;

int eve_form_init(EVEForm *form, EVETile *tile, eve_page_open_t open, eve_page_close_t close, struct EVEWidget *widget, uint16_t widget_size);
int eve_form_touch(EVECanvas *c, uint8_t tag0, int touch_idx);
uint8_t eve_form_draw(EVECanvas *c, uint8_t tag0);