Searched refs:obj_state (Results 1 – 1 of 1) sorted by relevance
97 lv_state_t obj_state = LV_STATE_DEFAULT; in lv_imgbtn_set_state() local98 …if(state == LV_IMGBTN_STATE_PRESSED || state == LV_IMGBTN_STATE_CHECKED_PRESSED) obj_state |= LV_S… in lv_imgbtn_set_state()99 …if(state == LV_IMGBTN_STATE_DISABLED || state == LV_IMGBTN_STATE_CHECKED_DISABLED) obj_state |= LV… in lv_imgbtn_set_state()102 obj_state |= LV_STATE_CHECKED; in lv_imgbtn_set_state()106 lv_obj_add_state(obj, obj_state); in lv_imgbtn_set_state()365 lv_state_t obj_state = lv_obj_get_state(imgbtn); in get_state() local367 if(obj_state & LV_STATE_DISABLED) { in get_state()368 if(obj_state & LV_STATE_CHECKED) return LV_IMGBTN_STATE_CHECKED_DISABLED; in get_state()372 if(obj_state & LV_STATE_CHECKED) { in get_state()373 if(obj_state & LV_STATE_PRESSED) return LV_IMGBTN_STATE_CHECKED_PRESSED; in get_state()[all …]