1 /**
2  * @file lv_layout_private.h
3  *
4  */
5 
6 #ifndef LV_LAYOUT_PRIVATE_H
7 #define LV_LAYOUT_PRIVATE_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 
17 #include "lv_layout.h"
18 
19 /*********************
20  *      DEFINES
21  *********************/
22 
23 /**********************
24  *      TYPEDEFS
25  **********************/
26 
27 typedef struct {
28     lv_layout_update_cb_t cb;
29     void * user_data;
30 } lv_layout_dsc_t;
31 
32 /**********************
33  * GLOBAL PROTOTYPES
34  **********************/
35 
36 /**********************
37  * GLOBAL PROTOTYPES
38  **********************/
39 
40 void lv_layout_init(void);
41 
42 void lv_layout_deinit(void);
43 
44 /**
45  * Update the layout of a widget
46  * @param obj   pointer to a widget
47  */
48 void lv_layout_apply(lv_obj_t * obj);
49 
50 /**********************
51  *      MACROS
52  **********************/
53 
54 #ifdef __cplusplus
55 } /*extern "C"*/
56 #endif
57 
58 #endif /*LV_LAYOUT_PRIVATE_H*/
59