mikroSDK Reference Manual
lv_win.h
Go to the documentation of this file.
1
6#ifndef LV_WIN_H
7#define LV_WIN_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "../../../lvgl.h"
17
18/*********************
19 * DEFINES
20 *********************/
21
22/**********************
23 * TYPEDEFS
24 **********************/
25typedef struct {
26 lv_obj_t obj;
27} lv_win_t;
28
29extern const lv_obj_class_t lv_win_class;
30
31/**********************
32 * GLOBAL PROTOTYPES
33 **********************/
34
35lv_obj_t * lv_win_create(lv_obj_t * parent, lv_coord_t header_height);
36
37
38lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt);
39lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w);
40
41lv_obj_t * lv_win_get_header(lv_obj_t * win);
42lv_obj_t * lv_win_get_content(lv_obj_t * win);
43/**********************
44 * MACROS
45 **********************/
46
47#ifdef __cplusplus
48} /*extern "C"*/
49#endif
50
51#endif /*LV_WIN_H*/
Definition lv_obj_class.h:49
Definition lv_obj.h:174
Definition lv_win.h:25