javauis/mmapi_akn/baseline/src/cmmadisplay.cpp
branchRCL_3
changeset 17 0fd27995241b
parent 14 04becd199f91
child 24 6c158198356e
equal deleted inserted replaced
15:f9bb0fca356a 17:0fd27995241b
   149         refreshScreen = ETrue;
   149         refreshScreen = ETrue;
   150     }
   150     }
   151     // If visible then set a new clip rect
   151     // If visible then set a new clip rect
   152     if (iVisible && iContainerVisible)
   152     if (iVisible && iContainerVisible)
   153     {
   153     {
   154         iClipRect.SetRect(TPoint(0,0),iWindow->WindowRect().Size());
   154         iClipRect = iWindow->DrawRect();
   155 
   155 
   156         if (!iClipRect.IsEmpty())
   156         if (!iClipRect.IsEmpty())
   157         {
   157         {
   158             DEBUG("CMMADisplay::SetClippingRegion: Adding new rect");
   158             DEBUG("CMMADisplay::SetClippingRegion: Adding new rect");
   159             // Add new clipping rect
   159             // Add new clipping rect
   203         return;
   203         return;
   204     }
   204     }
   205     // If visible then set a new clip rect
   205     // If visible then set a new clip rect
   206     if (iVisible)
   206     if (iVisible)
   207     {
   207     {
   208         iClipRect.SetRect(TPoint(0,0),iWindow->WindowRect().Size());
   208         iClipRect = iWindow->DrawRect();
   209 
   209 
   210         if (!iClipRect.IsEmpty())
   210         if (!iClipRect.IsEmpty())
   211         {
   211         {
   212             DEBUG("CMMADisplay::AddClippingRegion: Adding new rect");
   212             DEBUG("CMMADisplay::AddClippingRegion: Adding new rect");
   213             // Add new clipping rect
   213             // Add new clipping rect