Lines Matching full:top
90 clips[n].c.top = 0; in btcx_screen_clips()
98 clips[n].c.top = 0; in btcx_screen_clips()
103 if (win->top < 0) { in btcx_screen_clips()
104 /* top */ in btcx_screen_clips()
106 clips[n].c.top = 0; in btcx_screen_clips()
108 clips[n].c.height = -win->top; in btcx_screen_clips()
111 if (win->top + win->height > sheight) { in btcx_screen_clips()
114 clips[n].c.top = sheight - win->top; in btcx_screen_clips()
116 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips()
137 win->width, win->height, win->left, win->top, dx); in btcx_align()
149 clips[i].c.left, clips[i].c.top); in btcx_align()
192 if (line > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
194 if (line < clips[clip].c.top) { in btcx_calc_skips()
195 if (maxline > clips[clip].c.top-1) in btcx_calc_skips()
196 maxline = clips[clip].c.top-1; in btcx_calc_skips()
199 if (maxline > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
200 maxline = clips[clip].c.top+clips[clip].c.height-1; in btcx_calc_skips()