ESPHome  2024.11.0
Data Structures | Typedefs | Functions | Variables
esphome::lvgl Namespace Reference

Data Structures

class  FontEngine
 
class  IdleTrigger
 
class  LvButtonMatrixType
 
class  LvCompound
 
class  LvDropdownType
 
class  LVEncoderListener
 
class  LvglAction
 
class  LvglComponent
 Component for rendering LVGL. More...
 
class  LvglCondition
 
class  LVGLNumber
 
class  LVGLSelect
 
class  LVGLSwitch
 
class  LVGLText
 
class  LvKeyboardType
 
class  LVLight
 
class  LvPageType
 
class  LvRollerType
 
class  LvSelectable
 
class  LVTouchListener
 
class  ObjUpdateAction
 
class  PauseTrigger
 

Typedefs

using LvLambdaType = std::function< void(lv_obj_t *)>
 
using set_value_lambda_t = std::function< void(float)>
 
using event_callback_t = void(_lv_event_t *)
 
using text_lambda_t = std::function< const char *()>
 

Functions

std::string lv_event_code_name_for (uint8_t event_code)
 
void lv_animimg_stop (lv_obj_t *obj)
 
void lv_img_set_src (lv_obj_t *obj, esphome::image::Image *image)
 

Variables

esphome::lvgl::LVLight __attribute__
 
lv_event_code_t lv_api_event
 
lv_event_code_t lv_update_event
 

Typedef Documentation

◆ event_callback_t

using esphome::lvgl::event_callback_t = typedef void(_lv_event_t *)

Definition at line 83 of file lvgl_esphome.h.

◆ LvLambdaType

using esphome::lvgl::LvLambdaType = typedef std::function<void(lv_obj_t *)>

Definition at line 81 of file lvgl_esphome.h.

◆ set_value_lambda_t

using esphome::lvgl::set_value_lambda_t = typedef std::function<void(float)>

Definition at line 82 of file lvgl_esphome.h.

◆ text_lambda_t

using esphome::lvgl::text_lambda_t = typedef std::function<const char *()>

Definition at line 84 of file lvgl_esphome.h.

Function Documentation

◆ lv_animimg_stop()

void esphome::lvgl::lv_animimg_stop ( lv_obj_t *  obj)

Definition at line 481 of file lvgl_esphome.cpp.

◆ lv_event_code_name_for()

std::string esphome::lvgl::lv_event_code_name_for ( uint8_t  event_code)

Definition at line 62 of file lvgl_esphome.cpp.

◆ lv_img_set_src()

void esphome::lvgl::lv_img_set_src ( lv_obj_t *  obj,
esphome::image::Image image 
)
inline

Definition at line 56 of file lvgl_esphome.h.

Variable Documentation

◆ __attribute__

esphome::lvgl::LVLight esphome::lvgl::__attribute__

◆ lv_api_event

lv_event_code_t esphome::lvgl::lv_api_event

Definition at line 83 of file lvgl_esphome.cpp.

◆ lv_update_event

lv_event_code_t esphome::lvgl::lv_update_event

Definition at line 84 of file lvgl_esphome.cpp.