Searched refs:cur_value (Results 1 – 3 of 3) sorted by relevance
95 if(bar->cur_value == value) return; in lv_bar_set_value()100 if(bar->cur_value == value) return; in lv_bar_set_value()101 lv_bar_set_value_with_anim(obj, value, &bar->cur_value, &bar->cur_value_anim, anim); in lv_bar_set_value()115 … value = value > bar->cur_value ? bar->cur_value : value; /*Can't be greater than the right value*/ in lv_bar_set_start_value()135 if(bar->cur_value > max) { in lv_bar_set_range()136 bar->cur_value = max; in lv_bar_set_range()137 lv_bar_set_value(obj, bar->cur_value, LV_ANIM_OFF); in lv_bar_set_range()139 if(bar->cur_value < min) { in lv_bar_set_range()140 bar->cur_value = min; in lv_bar_set_range()141 lv_bar_set_value(obj, bar->cur_value, LV_ANIM_OFF); in lv_bar_set_range()[all …]
134 slider->value_to_set = &slider->bar.cur_value; in lv_slider_event()145 slider->value_to_set = &slider->bar.cur_value; in lv_slider_event()158 slider->value_to_set = &slider->bar.cur_value; in lv_slider_event()169 slider->value_to_set = &slider->bar.cur_value; in lv_slider_event()181 slider->value_to_set = &slider->bar.cur_value; in lv_slider_event()234 real_max_value = slider->bar.cur_value; in lv_slider_event()349 if(is_symmetrical && slider->bar.cur_value < 0) knob_area.x1 = slider->bar.indic_area.x1; in draw_knob()354 if(is_symmetrical && slider->bar.cur_value < 0) knob_area.y1 = slider->bar.indic_area.y2; in draw_knob()
49 int32_t cur_value; /**< Current value of the bar*/ member