Lines Matching defs:curr
7166 const ImRect& curr = g.NavScoringRectScreen; // Current modified source rect (NB: we've applied Max.x = Min.x in NavUpdate() to inhibit the effect of having varied item width)
7184 float dbx = NavScoreItemDistInterval(cand.Min.x, cand.Max.x, curr.Min.x, curr.Max.x);
7185 float dby = NavScoreItemDistInterval(ImLerp(cand.Min.y, cand.Max.y, 0.2f), ImLerp(cand.Min.y, cand.Max.y, 0.8f), ImLerp(curr.Min.y, curr.Max.y, 0.2f), ImLerp(curr.Min.y, curr.Max.y, 0.8f)); // Scale down on Y to keep using box-distance for vertically touching items
7191 float dcx = (cand.Min.x + cand.Max.x) - (curr.Min.x + curr.Max.x);
7192 float dcy = (cand.Min.y + cand.Max.y) - (curr.Min.y + curr.Max.y);
7195 // Determine which quadrant of 'curr' our candidate item 'cand' lies in based on distance
7226 draw_list->AddRect(curr.Min, curr.Max, IM_COL32(255,200,0,100));
7274 // Axial check: if 'curr' has no link at all in some direction and 'cand' lies roughly in that direction, add a tentative link. This will only be kept if no "real" matches