mobilemessaging/smilui/playersrc/SmilPlayerIndicatorController.cpp
branchRCL_3
changeset 53 696bfeff199e
parent 0 72b543305e3a
--- a/mobilemessaging/smilui/playersrc/SmilPlayerIndicatorController.cpp	Mon Jun 21 15:36:19 2010 +0300
+++ b/mobilemessaging/smilui/playersrc/SmilPlayerIndicatorController.cpp	Thu Jul 15 18:34:37 2010 +0300
@@ -599,9 +599,18 @@
         {
         if ( iVolumeController &&
              iVolumeController->Rect().Contains( aPointerEvent.iPosition ) )
-            {
-            iVolumeController->HandlePointerEventL( aPointerEvent );                    
-            }
+                {
+                if (iPlayIndicator && !(iPlayIndicator->Rect().Contains( aPointerEvent.iPosition) ) ||
+                        (iPauseIndicator && !iPauseIndicator->Rect().Contains( aPointerEvent.iPosition )))
+                    {
+                    iVolumeController->HandlePointerEventL( aPointerEvent );
+                    }
+                else if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
+                    {
+                    iPresController->PlayPauseTappedL();
+                    }
+                
+                }
         else if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
             {
             iPresController->PlayPauseTappedL();