void UIAPI uivdirty( VSCREEN *vptr, SAREA area ) /**********************************************/ { area.row += vptr->area.row; area.col += vptr->area.col; dirtyarea( &(vptr->window), area ); }
void intern dirtynext( SAREA area, UI_WINDOW *wptr ) /**************************************************/ { register int i; auto SAREA areas[ 5 ]; dividearea( area, wptr->area, areas ); if( areas[ 0 ].height > 0 ) { dirtyarea( wptr, areas[ 0 ] ); } if( wptr->next != NULL ) { for( i = 1 ; i < 5 ; ++i ) { if( areas[ i ].height > 0 ) { dirtynext( areas[ i ], wptr->next ); } } } }