1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdint.h>
#include "../widget/widget.h"
typedef struct EVEFormSpec {
EVELabelSpec label;
EVEWidgetSpec widget;
} EVEFormSpec;
EVEPage *eve_form_create(EVEWindow *window, EVEViewStack *stack, EVEFormSpec spec[], uint16_t spec_size, eve_page_uievt_t uievt, eve_page_destructor_t destructor);
void eve_form_init(EVEPage *page, EVEWindow *window, EVEViewStack *stack, EVEWidget *widget, uint16_t widget_size, eve_page_uievt_t uievt, eve_page_destructor_t destructor);
void eve_form_set_widget(EVEPage *page, EVEWidget *widget, uint16_t widget_size);
void eve_form_destroy(EVEPage *page);
int eve_form_uievt(EVEPage *page, uint16_t evt, void *param);
void eve_form_update_g(EVEPage *page, EVEWidget *_widget);
|