Esempio n. 1
0
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 );
    }
}
Esempio n. 2
0
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 );
    }
}
Esempio n. 3
0
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 );
}