Lines Matching refs:first
63 int first, last; /* first and last visible face; last is first invisible */ variable
256 if(i<first || i>=last) in drawface()
258 r = facerect(i-first); in drawface()
293 last = first+nacross*ndown; in setlast()
310 draw(screen, leftr, first>0? blue : bgrnd, left, leftright.min); in drawarrows()
324 if(first != 0){ in addface()
325 first = 0; in addface()
398 if(j < first) in delface()
399 first--; in delface()
403 x = (j-first)%nx; in delface()
404 for(y=(j-first)/nx; y<ny; y++){ in delface()
424 r = facerect(last-first-1); in delface()
546 if(ptinrect(p, leftr) && first>0){ in scroll()
548 delta = -first; in scroll()
551 if(delta > first) in scroll()
552 delta = first; in scroll()
557 delta = (nfaces-nacross*ndown) - first; in scroll()
564 first += delta; in scroll()
601 for(i=first; i<last; i++) /* clear vwhois faces */ in click()
602 if(ptinrect(p, facerect(i-first)) in click()
615 for(i=first; i<last; i++) in click()
616 if(ptinrect(p, facerect(i-first))){ in click()