mikroSDK Reference Manual
lv_btn.h
Go to the documentation of this file.
1
6#ifndef LV_BTN_H
7#define LV_BTN_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "../lv_conf_internal.h"
17
18#if LV_USE_BTN != 0
19#include "../core/lv_obj.h"
20
21/*********************
22 * DEFINES
23 *********************/
24
25/**********************
26 * TYPEDEFS
27 **********************/
28
29typedef struct {
30 lv_obj_t obj;
31} lv_btn_t;
32
33extern const lv_obj_class_t lv_btn_class;
34
35/**********************
36 * GLOBAL PROTOTYPES
37 **********************/
38
44lv_obj_t * lv_btn_create(lv_obj_t * parent);
45
46/**********************
47 * MACROS
48 **********************/
49
50#endif /*LV_USE_BTN*/
51
52#ifdef __cplusplus
53} /*extern "C"*/
54#endif
55
56#endif /*LV_BTN_H*/
Definition lv_obj_class.h:49
Definition lv_obj.h:174