mikroSDK Reference Manual
lv_list.h
1
6#ifndef LV_LIST_H
7#define LV_LIST_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
18
19#if LV_USE_LIST
20
21/*********************
22 * DEFINES
23 *********************/
24
25/**********************
26 * TYPEDEFS
27 **********************/
28
29extern const lv_obj_class_t lv_list_class;
30extern const lv_obj_class_t lv_list_text_class;
31extern const lv_obj_class_t lv_list_btn_class;
32/**********************
33 * GLOBAL PROTOTYPES
34 **********************/
35
36lv_obj_t * lv_list_create(lv_obj_t * parent);
37
38lv_obj_t * lv_list_add_text(lv_obj_t * list, const char * txt);
39
40lv_obj_t * lv_list_add_btn(lv_obj_t * list, const void * icon, const char * txt);
41
42const char * lv_list_get_btn_text(lv_obj_t * list, lv_obj_t * btn);
43
44/**********************
45 * MACROS
46 **********************/
47
48#endif /*LV_USE_LIST*/
49
50#ifdef __cplusplus
51} /*extern "C"*/
52#endif
53
54#endif /*LV_LIST_H*/
Definition lv_obj_class.h:49
Definition lv_obj.h:174