mikroSDK Reference Manual
lv_objx_templ.h
1
13
#ifndef LV_TEMPL_H
14
#define LV_TEMPL_H
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
/*********************
21
* INCLUDES
22
*********************/
23
#include "
../lv_conf_internal.h
"
24
25
#if LV_USE_TEMPL != 0
26
27
#include "
../core/lv_obj.h
"
28
29
/*********************
30
* DEFINES
31
*********************/
32
33
/**********************
34
* TYPEDEFS
35
**********************/
36
/*Data of template*/
37
typedef
struct
{
38
lv_ANCESTOR_t ancestor;
/*The ancestor widget, e.g. lv_slider_t slider*/
39
/*New data for this type*/
40
} lv_templ_t;
41
42
extern
const
lv_obj_class_t
lv_templ_class;
43
44
/**********************
45
* GLOBAL PROTOTYPES
46
**********************/
47
53
lv_obj_t
* lv_templ_create(
lv_obj_t
* parent);
54
55
/*======================
56
* Add/remove functions
57
*=====================*/
58
59
/*=====================
60
* Setter functions
61
*====================*/
62
63
/*=====================
64
* Getter functions
65
*====================*/
66
67
/*=====================
68
* Other functions
69
*====================*/
70
71
/**********************
72
* MACROS
73
**********************/
74
75
#endif
/*LV_USE_TEMPL*/
76
77
#ifdef __cplusplus
78
}
/*extern "C"*/
79
#endif
80
81
#endif
/*LV_TEMPL_H*/
lv_conf_internal.h
lv_obj.h
_lv_obj_class_t
Definition
lv_obj_class.h:49
_lv_obj_t
Definition
lv_obj.h:174