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

typedef struct EVEPageWidget {
    EVEWidget w;
    char *title;
    EVEFont *font;
    EVEPage *page;
    uint8_t tag;
} EVEPageWidget;

void eve_pagew_init(EVEPageWidget *widget, EVERect *g, char *title, EVEFont *font, EVEPage *page);
int eve_pagew_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx, EVERect *focus);
uint8_t eve_pagew_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0);