Searched refs:range_max (Results 1 – 2 of 2) sorted by relevance
72 if(i > spinbox->range_max) i = spinbox->range_max; in lv_spinbox_set_value()111 if(spinbox->range_max > max_val - 1) spinbox->range_max = 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() argument146 spinbox->range_max = range_max; in lv_spinbox_set_range()149 if(spinbox->value > spinbox->range_max) spinbox->value = spinbox->range_max; in lv_spinbox_set_range()165 …step_limit = LV_MAX(spinbox->range_max, (spinbox->range_min < 0 ? (-spinbox->range_min) : sp… in lv_spinbox_set_cursor_pos()246 …step_limit = LV_MAX(spinbox->range_max, (spinbox->range_min < 0 ? (-spinbox->range_min) : sp… in lv_spinbox_step_prev()274 if(spinbox->value + spinbox->step <= spinbox->range_max) { in lv_spinbox_increment()282 if((spinbox->rollover) && (spinbox->value == spinbox->range_max)) in lv_spinbox_increment()285 spinbox->value = spinbox->range_max; in lv_spinbox_increment()[all …]
39 int32_t range_max; member101 void lv_spinbox_set_range(lv_obj_t * obj, int32_t range_min, int32_t range_max);