Lines Matching refs:top
89 clips[n].c.top = 0; in btcx_screen_clips()
97 clips[n].c.top = 0; in btcx_screen_clips()
102 if (win->top < 0) { in btcx_screen_clips()
105 clips[n].c.top = 0; in btcx_screen_clips()
107 clips[n].c.height = -win->top; in btcx_screen_clips()
110 if (win->top + win->height > sheight) { in btcx_screen_clips()
113 clips[n].c.top = sheight - win->top; in btcx_screen_clips()
115 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips()
136 win->width, win->height, win->left, win->top, dx); in btcx_align()
148 clips[i].c.left, clips[i].c.top); in btcx_align()
191 if (line > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
193 if (line < clips[clip].c.top) { in btcx_calc_skips()
194 if (maxline > clips[clip].c.top-1) in btcx_calc_skips()
195 maxline = clips[clip].c.top-1; in btcx_calc_skips()
198 if (maxline > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
199 maxline = clips[clip].c.top+clips[clip].c.height-1; in btcx_calc_skips()