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_btn.h (909B)

      1 /**
      2  * @file lv_btn.h
      3  *
      4  */
      5 
      6 #ifndef LV_BTN_H
      7 #define LV_BTN_H
      8 
      9 #ifdef __cplusplus
     10 extern "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 
     29 typedef struct {
     30     lv_obj_t obj;
     31 } lv_btn_t;
     32 
     33 extern const lv_obj_class_t lv_btn_class;
     34 
     35 /**********************
     36  * GLOBAL PROTOTYPES
     37  **********************/
     38 
     39 /**
     40  * Create a button object
     41  * @param parent    pointer to an object, it will be the parent of the new button
     42  * @return          pointer to the created button
     43  */
     44 lv_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*/