static bool covered( SAREA area, UI_WINDOW *wptr ) /************************************************/ { int i; bool flag; SAREA areas[ 5 ]; dividearea( area, wptr->area, areas ); flag = ( areas[ 0 ].height > 0 ); if( wptr->prev != NULL ) { for( i = 1; i < 5; ++i ) { if( areas[ i ].height > 0 ) { flag |= covered( areas[ i ], wptr->prev ); } } } return( flag ); }
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 ); } } } }