calendarui/views/src/calenweeklistboxdata.cpp
branchRCL_3
changeset 60 96907930389d
parent 0 f979ecb2b13e
child 67 1539a383d7b6
--- a/calendarui/views/src/calenweeklistboxdata.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/views/src/calenweeklistboxdata.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -214,7 +214,7 @@
                                       const TDesC* aText,                // Drawing item text
                                       const TRect& aItemRect,            // Item rectangle
                                       const TColors& aColors,            // Item colors
-                                      TBool aHighlight ) const
+                                      TBool /*aHighlight */) const
     {
     TRACE_ENTRY_POINT;
     
@@ -227,7 +227,7 @@
 
     TInt lastSubCell(CellCount() - 1);
     // mark highlight as "not done" only if we need to draw the highlight
-    TBool highlightDone( aHighlight ? EFalse : ETrue );
+//    TBool highlightDone( aHighlight ? EFalse : ETrue );
 
     if(!font)
         {
@@ -277,11 +277,12 @@
                     aGc.SetBrushStyle(CGraphicsContext::ENullBrush);
                     }
 
-                if(!highlightDone && aHighlight 
+                //Focus is removed in Week View
+                /*if(!highlightDone && aHighlight 
                    && subcell == iHilightedSubCell+1)
                     {
                     highlightDone = DrawHighlight( bRect, aGc, ETrue );
-                    }
+                    }*/
 
                 switch(hourData.DataType())
                     {
@@ -297,11 +298,12 @@
                     break;
                     }
 
+                //Focus is removed in Week View
                 // draw non-skinned highlight
-                if(!highlightDone && aHighlight && subcell == iHilightedSubCell +1)
+                /*if(!highlightDone && aHighlight && subcell == iHilightedSubCell +1)
                     {
                     highlightDone = DrawHighlight( bRect, aGc, EFalse );
-                    }
+                    }*/
                 }
             break;