Lines Matching refs:bottom
142 unsigned int bottom, int which);
143 void (*scroll_down)(int num, unsigned int top, unsigned int bottom);
144 void (*scroll_up)(int num, unsigned int top, unsigned int bottom);
267 unsigned int bottom, int which);
286 static void gc_scroll_down(int num, unsigned int top, unsigned int bottom);
287 static void gc_scroll_up(int num, unsigned int top, unsigned int bottom);
327 gc_clear_screen(unsigned int xx, unsigned int yy, int top, unsigned int bottom,
332 if ( xx < gc_buffer_columns && yy < gc_buffer_rows && bottom <= gc_buffer_rows )
339 end = (bottom * gc_buffer_columns) - 1;
347 end = (bottom * gc_buffer_columns) - 1;
360 gc_ops.clear_screen(xx, yy, top, bottom, which);
868 /* ensure top < bottom, and both within limits */
1032 gc_scroll_down(int num, unsigned int top, unsigned int bottom)
1036 if ( bottom <= gc_buffer_rows )
1044 for ( row = bottom - 1 ; row >= top + num ; row-- )
1132 gc_ops.scroll_down(num, top, bottom);
1136 gc_clear_screen(vinfo.v_columns - 1, top + num - 1, top, bottom, 1);
1141 gc_scroll_up(int num, unsigned int top, unsigned int bottom)
1144 gc_ops.scroll_up(num, top, bottom);
1145 gc_clear_screen(0, bottom - num, top, bottom, 0);
1149 if ( bottom <= gc_buffer_rows )
1157 for ( row = top ; row < bottom - num ; row++ )
1207 for ( row = bottom - num ; row < bottom ; row++ )
1245 gc_ops.scroll_up(num, top, bottom);
1248 gc_clear_screen(0, bottom - num, top, bottom, 0);