equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Volume bar control |
14 * Description: Volume bar control |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: e003sa33#19 % |
18 // Version : %version: e003sa33#20 % |
19 |
19 |
20 |
20 |
21 // INCLUDE FILES |
21 // INCLUDE FILES |
22 #include <eikenv.h> |
22 #include <eikenv.h> |
23 #include <gulicon.h> |
23 #include <gulicon.h> |
1002 { |
1002 { |
1003 MPX_DEBUG(_L("CMPXVideoPlaybackVolumeBar::Reset()")); |
1003 MPX_DEBUG(_L("CMPXVideoPlaybackVolumeBar::Reset()")); |
1004 |
1004 |
1005 if ( iDragging != EVolumeNotDragging ) |
1005 if ( iDragging != EVolumeNotDragging ) |
1006 { |
1006 { |
1007 iDragging = EVolumeNotDragging; |
1007 TPointerEvent event; |
|
1008 event.iType = TPointerEvent::EButton1Up; |
|
1009 event.iPosition.iY = ( iSliderRect.iTl.iY + iSliderRect.iBr.iY ) / 2; |
|
1010 |
|
1011 MPX_TRAPD( err, HandlePointerEventL(event) ); |
1008 } |
1012 } |
1009 } |
1013 } |
1010 |
1014 |
1011 // ------------------------------------------------------------------------------------------------- |
1015 // ------------------------------------------------------------------------------------------------- |
1012 // CMPXVideoPlaybackVolumeBar::SetVolumeL() |
1016 // CMPXVideoPlaybackVolumeBar::SetVolumeL() |