blob: 6560654c622ec1da6551c4c2870ce66675d20e03 (
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>
typedef struct EVEPageWidget {
EVEWidget w;
char *title;
EVEFont *font;
eve_view_constructor_t constructor;
} EVEPageWidget;
typedef struct EVEPageSpec {
EVEFont *font;
char *title;
eve_view_constructor_t constructor;
} EVEPageSpec;
int eve_pagew_create(EVEPageWidget *widget, EVERect *g, EVEPageSpec *spec);
void eve_pagew_init(EVEPageWidget *widget, EVERect *g, EVEFont *font, char *title, eve_view_constructor_t constructor);
void eve_pagew_update(EVEPageWidget *widget, EVEFont *font, char *title, eve_view_constructor_t constructor);
int eve_pagew_touch(EVEWidget *_widget, EVEPage *page, EVETouch *t, uint16_t evt);
uint8_t eve_pagew_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0);
|