Lines Matching refs:clicked_t
2144 float clicked_t = 0.0f; in SliderBehaviorT() local
2154 …clicked_t = (slider_usable_sz > 0.0f) ? ImClamp((mouse_abs_pos - slider_usable_pos_min) / slider_u… in SliderBehaviorT()
2156 clicked_t = 1.0f - clicked_t; in SliderBehaviorT()
2170 …clicked_t = SliderCalcRatioFromValueT<TYPE,FLOATTYPE>(data_type, *v, v_min, v_max, power, linear_z… in SliderBehaviorT()
2188 …if ((clicked_t >= 1.0f && delta > 0.0f) || (clicked_t <= 0.0f && delta < 0.0f)) // This is to avoi… in SliderBehaviorT()
2191 clicked_t = ImSaturate(clicked_t + delta); in SliderBehaviorT()
2201 if (clicked_t < linear_zero_pos) in SliderBehaviorT()
2204 float a = 1.0f - (clicked_t / linear_zero_pos); in SliderBehaviorT()
2213 a = (clicked_t - linear_zero_pos) / (1.0f - linear_zero_pos); in SliderBehaviorT()
2215 a = clicked_t; in SliderBehaviorT()
2225 v_new = ImLerp(v_min, v_max, clicked_t); in SliderBehaviorT()
2231 FLOATTYPE v_new_off_f = (v_max - v_min) * clicked_t; in SliderBehaviorT()