Home
last modified time | relevance | path

Searched refs:range_min (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/spinbox/
Dlv_spinbox.c73 if(i < spinbox->range_min) i = spinbox->range_min; in lv_spinbox_set_value()
112 if(spinbox->range_min < - max_val + 1) spinbox->range_min = - max_val + 1; in lv_spinbox_set_digit_format()
141 void lv_spinbox_set_range(lv_obj_t * obj, int32_t range_min, int32_t range_max) in lv_spinbox_set_range() argument
147 spinbox->range_min = range_min; in lv_spinbox_set_range()
150 if(spinbox->value < spinbox->range_min) spinbox->value = spinbox->range_min; in lv_spinbox_set_range()
165 …t = LV_MAX(spinbox->range_max, (spinbox->range_min < 0 ? (-spinbox->range_min) : spinbox->ra… in lv_spinbox_set_cursor_pos()
246 …t = LV_MAX(spinbox->range_max, (spinbox->range_min < 0 ? (-spinbox->range_min) : spinbox->ra… in lv_spinbox_step_prev()
283 spinbox->value = spinbox->range_min; in lv_spinbox_increment()
300 if(spinbox->value - spinbox->step >= spinbox->range_min) { in lv_spinbox_decrement()
307 if((spinbox->rollover) && (spinbox->value == spinbox->range_min)) in lv_spinbox_decrement()
[all …]
Dlv_spinbox.h40 int32_t range_min; member
101 void lv_spinbox_set_range(lv_obj_t * obj, int32_t range_min, int32_t range_max);