static void backfill( SAREA area, void *dummy ) /*********************************************/ { register ORD row; dummy=dummy; for( row = area.row; row < area.row + area.height; ++row ) { uibcopy( &UIData->blank.type.buffer, row, area.col, &UIData->screen, row, area.col, area.width ); } }
static void update( SAREA area, VSCREEN *vptr ) /*********************************************/ { register int row; register int vrow; register int vcol; for( row = area.row; row < area.row + area.height; ++row ) { vrow = row - (int) vptr->area.row; vcol = (int) area.col - (int) vptr->area.col; uibcopy( &(vptr->window.type.buffer), vrow, vcol, &UIData->screen, row, area.col, area.width ); } }
bool UIAPI uikeepbackground( void ) /**********************************/ { register ORD row; register BUFFER *buff; buff = uibackgroundbuffer(); if( buff ) { for( row = 0; row < UIData->height; ++ row ) { uibcopy( &UIData->screen, row, 0, buff, row, 0, UIData->width ); } } return( buff != NULL ); }