equal
deleted
inserted
replaced
963 // Handles slider pointer events |
963 // Handles slider pointer events |
964 // ----------------------------------------------------------------------------- |
964 // ----------------------------------------------------------------------------- |
965 // |
965 // |
966 void CCamCaptureSetupSlider::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
966 void CCamCaptureSetupSlider::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
967 { |
967 { |
968 |
968 if(!Rect().Contains(aPointerEvent.iPosition)) |
|
969 { |
|
970 return; |
|
971 } |
969 CCoeControl::HandlePointerEventL( aPointerEvent ); |
972 CCoeControl::HandlePointerEventL( aPointerEvent ); |
970 |
973 |
971 // This is the max bitmap offset from the top of the shaft that the thumb can be |
974 // This is the max bitmap offset from the top of the shaft that the thumb can be |
972 TInt maxVOffset = iShaftLayout.Rect().Size().iHeight - iBitmapThumb->SizeInPixels().iHeight; |
975 TInt maxVOffset = iShaftLayout.Rect().Size().iHeight - iBitmapThumb->SizeInPixels().iHeight; |
973 |
976 |