Home
last modified time | relevance | path

Searched refs:chk (Results 1 – 6 of 6) sorted by relevance

/lvgl-3.7.0/examples/widgets/table/
Dlv_example_table_2.c12 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()
Dlv_example_table_2.py11 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/
Dlv_switch.c184 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/
Dlv_draw_sw_img.c233 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/
Dlv_example_menu_5.c18 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/
Dlv_gpu_arm2d.c1483 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()