lv_switch.h

Defines

_LV_SWITCH_KNOB_EXT_AREA_CORRECTION

Switch knob extra area correction factor

Functions

lv_obj_t *lv_switch_create(lv_obj_t *parent)

Create a switch object

Parameters:

parent -- pointer to an object, it will be the parent of the new switch

Returns:

pointer to the created switch

Variables

const lv_obj_class_t lv_switch_class
struct lv_switch_t

Public Members

lv_obj_t obj
int32_t anim_state