Searched refs:start_value (Results 1 – 4 of 4) sorted by relevance
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_bar.c | 97 ext->start_value = 0; in lv_bar_create() 125 ext->start_value = ext_copy->start_value; in lv_bar_create() 180 void lv_bar_set_start_value(lv_obj_t * bar, int16_t start_value, lv_anim_enable_t anim) in lv_bar_set_start_value() argument 185 if(ext->start_value == start_value) return; in lv_bar_set_start_value() 188 new_value = start_value > ext->max_value ? ext->max_value : start_value; in lv_bar_set_start_value() 189 new_value = new_value < ext->min_value ? ext->min_value : start_value; in lv_bar_set_start_value() 191 if(ext->start_value == new_value) return; in lv_bar_set_start_value() 194 ext->start_value = new_value; in lv_bar_set_start_value() 196 lv_bar_set_value_with_anim(bar, new_value, &ext->start_value, &ext->start_value_anim, anim); in lv_bar_set_start_value() 217 ext->start_value = min; in lv_bar_set_range() [all …]
|
D | lv_bar.h | 70 int16_t start_value; /*Start value of the bar*/ member 119 void lv_bar_set_start_value(lv_obj_t * bar, int16_t start_value, lv_anim_enable_t anim);
|
D | lv_slider.c | 298 ext->value_to_set = &ext->bar.start_value; in lv_slider_signal() 307 else ext->value_to_set = &ext->bar.start_value; in lv_slider_signal() 315 ext->value_to_set = &ext->bar.start_value; in lv_slider_signal() 324 else ext->value_to_set = &ext->bar.start_value; in lv_slider_signal() 366 if(ext->value_to_set == &ext->bar.start_value) { in lv_slider_signal() 370 real_min_value = ext->bar.start_value; in lv_slider_signal()
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_obj.c | 70 } start_value; member 4331 tr->start_value._int = int1; 4353 tr->start_value._color = c1; 4376 tr->start_value._opa = o1; 4398 tr->start_value._ptr = p1; 4447 if(v == 0) x = tr->start_value._int; 4449 …else x = tr->start_value._int + ((int32_t)((int32_t)(tr->end_value._int - tr->start_value._int) * … 4454 if(v <= 0) x = tr->start_value._color; 4456 else x = lv_color_mix(tr->end_value._color, tr->start_value._color, v); 4461 if(v <= 0) x = tr->start_value._opa; [all …]
|