--- a/calendarui/views/src/calenweeklistboxdata.cpp Wed Sep 15 12:11:35 2010 +0300
+++ b/calendarui/views/src/calenweeklistboxdata.cpp Wed Oct 13 14:30:35 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,12 +277,11 @@
aGc.SetBrushStyle(CGraphicsContext::ENullBrush);
}
- //Focus is removed in Week View
- /*if(!highlightDone && aHighlight
+ if(!highlightDone && aHighlight
&& subcell == iHilightedSubCell+1)
{
highlightDone = DrawHighlight( bRect, aGc, ETrue );
- }*/
+ }
switch(hourData.DataType())
{
@@ -298,12 +297,11 @@
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;