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

参数:

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

返回:

pointer to the created switch

Variables

const lv_obj_class_t lv_switch_class