Searched refs:chk (Results 1 – 6 of 6) sorted by relevance
/lvgl-3.7.0/examples/widgets/table/ |
D | lv_example_table_2.c | 12 bool chk = lv_table_has_cell_ctrl(obj, dsc->id, 0, LV_TABLE_CELL_CTRL_CUSTOM_1); in draw_event_cb() local 16 …rect_dsc.bg_color = chk ? lv_theme_get_color_primary(obj) : lv_palette_lighten(LV_PALETTE_GREY, 2); in draw_event_cb() 27 if(chk) { in draw_event_cb() 47 bool chk = lv_table_has_cell_ctrl(obj, row, 0, LV_TABLE_CELL_CTRL_CUSTOM_1); in change_event_cb() local 48 if(chk) lv_table_clear_cell_ctrl(obj, row, 0, LV_TABLE_CELL_CTRL_CUSTOM_1); in change_event_cb()
|
D | lv_example_table_2.py | 11 chk = obj.has_cell_ctrl(dsc.id, 0, lv.table.CELL_CTRL.CUSTOM_1) 16 if chk: 32 if chk: 49 chk = table.has_cell_ctrl(row.uint_val, 0, lv.table.CELL_CTRL.CUSTOM_1) 50 if chk:
|
/lvgl-3.7.0/src/widgets/ |
D | lv_switch.c | 184 bool chk = lv_obj_get_state(obj) & LV_STATE_CHECKED; in draw_main() local 185 anim_value_x = chk ? anim_length : 0; in draw_main() 246 bool chk = lv_obj_get_state(obj) & LV_STATE_CHECKED; in lv_switch_trigger_anim() local 251 anim_start = chk ? LV_SWITCH_ANIM_STATE_START : LV_SWITCH_ANIM_STATE_END; in lv_switch_trigger_anim() 252 anim_end = chk ? LV_SWITCH_ANIM_STATE_END : LV_SWITCH_ANIM_STATE_START; in lv_switch_trigger_anim() 257 anim_end = chk ? LV_SWITCH_ANIM_STATE_END : LV_SWITCH_ANIM_STATE_START; in lv_switch_trigger_anim()
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_img.c | 233 lv_color_t chk = LV_COLOR_CHROMA_KEY; in convert_cb() local 236 uint8_t chk_v = chk.full; in convert_cb() 239 uint16_t chk_v = chk.full; in convert_cb() 242 uint32_t chk_v = chk.full; in convert_cb()
|
/lvgl-3.7.0/examples/widgets/menu/ |
D | lv_example_menu_5.c | 18 const char * icon, const char * txt, bool chk); 188 static lv_obj_t * create_switch(lv_obj_t * parent, const char * icon, const char * txt, bool chk) in create_switch() argument 193 lv_obj_add_state(sw, chk ? LV_STATE_CHECKED : 0); in create_switch()
|
/lvgl-3.7.0/src/draw/arm2d/ |
D | lv_gpu_arm2d.c | 1483 lv_color_t chk = LV_COLOR_CHROMA_KEY; in convert_cb() local 1486 uint8_t chk_v = chk.full; in convert_cb() 1489 uint16_t chk_v = chk.full; in convert_cb() 1492 uint32_t chk_v = chk.full; in convert_cb()
|