mobilemessaging/smilui/playersrc/SmilPlayerIndicatorController.cpp
branchRCL_3
changeset 24 696bfeff199e
parent 0 72b543305e3a
equal deleted inserted replaced
22:1367103c24e2 24:696bfeff199e
   597     {
   597     {
   598     if ( AknLayoutUtils::PenEnabled() )
   598     if ( AknLayoutUtils::PenEnabled() )
   599         {
   599         {
   600         if ( iVolumeController &&
   600         if ( iVolumeController &&
   601              iVolumeController->Rect().Contains( aPointerEvent.iPosition ) )
   601              iVolumeController->Rect().Contains( aPointerEvent.iPosition ) )
   602             {
   602                 {
   603             iVolumeController->HandlePointerEventL( aPointerEvent );                    
   603                 if (iPlayIndicator && !(iPlayIndicator->Rect().Contains( aPointerEvent.iPosition) ) ||
   604             }
   604                         (iPauseIndicator && !iPauseIndicator->Rect().Contains( aPointerEvent.iPosition )))
       
   605                     {
       
   606                     iVolumeController->HandlePointerEventL( aPointerEvent );
       
   607                     }
       
   608                 else if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
       
   609                     {
       
   610                     iPresController->PlayPauseTappedL();
       
   611                     }
       
   612                 
       
   613                 }
   605         else if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
   614         else if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
   606             {
   615             {
   607             iPresController->PlayPauseTappedL();    
   616             iPresController->PlayPauseTappedL();    
   608             }
   617             }
   609         }            
   618         }