summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/widget/widgets.c
blob: ec422c1f08fce536d447e13786f4035dc62a02cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <stdlib.h>

#include "eve.h"
#include "eve_kbd.h"
#include "eve_font.h"

#include "screen/window.h"
#include "screen/page.h"

#include "widget.h"

const size_t _eve_widget_size[] = {
    0,
    sizeof(EVEFreeWidget),
    sizeof(EVEWidget),
    sizeof(EVEPageWidget),
    sizeof(EVEToggleWidget),
    sizeof(EVEStrWidget),
    sizeof(EVETextWidget),
    sizeof(EVESelectWidget),
};

const eve_widget_create_t _eve_widget_create[] = {
    NULL,
    eve_freew_create,
    eve_spacerw_create,
    eve_pagew_create,
    eve_togglew_create,
    eve_strw_create,
    eve_textw_create,
    eve_selectw_create,
};

const eve_widget_destroy_t _eve_widget_destroy[] = {
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    eve_strw_destroy,
    eve_textw_destroy,
    eve_selectw_destroy,
};