From 6a0a00af6b87f8e6ca27dca9eb3855cfa9336f48 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 23 Jan 2005 06:14:57 +0000 Subject: [PATCH] call board_invalRect rather than board_invalAll from ::Draw --- xwords4/symbian/src/xwappview.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xwords4/symbian/src/xwappview.cpp b/xwords4/symbian/src/xwappview.cpp index 3ed1eaa05..f4f363709 100644 --- a/xwords4/symbian/src/xwappview.cpp +++ b/xwords4/symbian/src/xwappview.cpp @@ -177,12 +177,8 @@ void CXWordsAppView::Draw( const TRect& aRect ) const gc.Clear( aRect ); if ( iGame.board ) { - // This must go! Board needs a method to inval within a rect. - // But without this when a menu or other obscuring window goes - // away we get called to redraw but board thinks nothing needs - // drawing. - board_invalAll( iGame.board ); - + board_invalRect( iGame.board, aRect.iTl.iX, aRect.iTl.iY, + aRect.iBr.iX, aRect.iBr.iY ); board_draw( iGame.board ); }