revert attempts to make struct private

feat/priate-struct was create as snapshot before this commit
This commit is contained in:
Gabor Kiss-Vamosi
2021-05-30 15:15:33 +02:00
parent 0ad3dcbf9b
commit 1cb57494df
56 changed files with 431 additions and 660 deletions

View File

@@ -48,18 +48,12 @@ typedef struct {
lv_dir_t dir :4; /**< Direction in which the list should open*/
uint8_t static_txt :1; /**< 1: Only a pointer is saved in `options`*/
uint8_t selected_highlight:1; /**< 1: Make the selected option highlighted in the list*/
}_lv_dropdown_t;
/*Trick to no expose the fields of the struct in the MicroPython binding*/
typedef _lv_dropdown_t lv_dropdown_t;
}lv_dropdown_t;
typedef struct {
lv_obj_t obj;
lv_obj_t * dropdown;
}_lv_dropdown_list_t;
/*Trick to no expose the fields of the struct in the MicroPython binding*/
typedef _lv_dropdown_list_t lv_dropdown_list_t;
}lv_dropdown_list_t;
extern const lv_obj_class_t lv_dropdown_class;
extern const lv_obj_class_t lv_dropdownlist_class;