acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_list.h (1021B)

      1 /**
      2  * @file lv_win.h
      3  *
      4  */
      5 
      6 #ifndef LV_LIST_H
      7 #define LV_LIST_H
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13 /*********************
     14  *      INCLUDES
     15  *********************/
     16 #include "../../../core/lv_obj.h"
     17 #include "../../layouts/flex/lv_flex.h"
     18 
     19 #if LV_USE_LIST
     20 
     21 /*********************
     22  *      DEFINES
     23  *********************/
     24 
     25 /**********************
     26  *      TYPEDEFS
     27  **********************/
     28 
     29 extern const lv_obj_class_t lv_list_class;
     30 extern const lv_obj_class_t lv_list_text_class;
     31 extern const lv_obj_class_t lv_list_btn_class;
     32 /**********************
     33  * GLOBAL PROTOTYPES
     34  **********************/
     35 
     36 lv_obj_t * lv_list_create(lv_obj_t * parent);
     37 
     38 lv_obj_t * lv_list_add_text(lv_obj_t * list, const char * txt);
     39 
     40 lv_obj_t * lv_list_add_btn(lv_obj_t * list, const void * icon, const char * txt);
     41 
     42 const 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*/