calendarui/views/src/calendaycontainer.cpp
branchRCL_3
changeset 20 9c5b1510919f
parent 10 38571fd2a704
child 25 bf573002ff72
equal deleted inserted replaced
18:d68a4b5d5885 20:9c5b1510919f
   330     TRACE_ENTRY_POINT;
   330     TRACE_ENTRY_POINT;
   331 
   331 
   332     for ( TInt i(0); i < iLayoutTable->Count(); ++i )
   332     for ( TInt i(0); i < iLayoutTable->Count(); ++i )
   333         {
   333         {
   334         SItemInfo& item = (*iLayoutTable)[i];
   334         SItemInfo& item = (*iLayoutTable)[i];
   335         if ( item.iTopLine == aListIndex )
   335         if ( aListIndex >= item.iTopLine && aListIndex <= item.iBottomLine )
   336             {
   336             {
   337             TRACE_EXIT_POINT;
   337             TRACE_EXIT_POINT;
   338             return i;
   338             return i;
   339             }
   339             }
   340         }
   340         }
  1438         return;
  1438         return;
  1439         }
  1439         }
  1440         
  1440         
  1441     if(aPointerEvent.iType == TPointerEvent::EButton1Down)
  1441     if(aPointerEvent.iType == TPointerEvent::EButton1Down)
  1442         {
  1442         {
       
  1443         this->GenerateTactileFeedback(); //Tactile feedback.
  1443         control = iLayoutManager->ControlOrNull();
  1444         control = iLayoutManager->ControlOrNull();
  1444         if(control)
  1445         if(control)
  1445             {
  1446             {
  1446             if(control->Rect().Contains(aPointerEvent.iPosition))
  1447             if(control->Rect().Contains(aPointerEvent.iPosition))
  1447                 {
  1448                 {