Lines Matching refs:top
99 clips[n].c.top = 0;
107 clips[n].c.top = 0;
112 if (win->top < 0) {
113 /* top */
115 clips[n].c.top = 0;
117 clips[n].c.height = -win->top;
120 if (win->top + win->height > sheight) {
123 clips[n].c.top = sheight - win->top;
125 clips[n].c.height = win->height - clips[n].c.top;
147 win->width, win->height, win->left, win->top, dx);
160 clips[i].c.left, clips[i].c.top);
206 if (line > clips[clip].c.top+clips[clip].c.height-1)
208 if (line < clips[clip].c.top) {
209 if (maxline > clips[clip].c.top-1)
210 maxline = clips[clip].c.top-1;
213 if (maxline > clips[clip].c.top+clips[clip].c.height-1)
214 maxline = clips[clip].c.top+clips[clip].c.height-1;