equal
deleted
inserted
replaced
323 TBool aFullySkinned ) |
323 TBool aFullySkinned ) |
324 { |
324 { |
325 CCamCaptureSetupSlider* self = |
325 CCamCaptureSetupSlider* self = |
326 new( ELeave ) CCamCaptureSetupSlider( aObserver, aSettingItem, aSteps, |
326 new( ELeave ) CCamCaptureSetupSlider( aObserver, aSettingItem, aSteps, |
327 aFullySkinned ); |
327 aFullySkinned ); |
328 //ME:END |
|
329 CleanupStack::PushL( self ); |
328 CleanupStack::PushL( self ); |
330 self->ConstructL( aParent ); |
329 self->ConstructL( aParent ); |
331 CleanupStack::Pop( self ); |
330 CleanupStack::Pop( self ); |
332 return self; |
331 return self; |
333 } |
332 } |
641 iSettingType == ECamSettingItemDynamicVideoContrast || |
640 iSettingType == ECamSettingItemDynamicVideoContrast || |
642 iSettingType == ECamSettingItemUserSceneContrast ) |
641 iSettingType == ECamSettingItemUserSceneContrast ) |
643 { |
642 { |
644 // Set the shaft layout and icon size for Contrast slider |
643 // Set the shaft layout and icon size for Contrast slider |
645 iShaftLayout.LayoutRect( sliderRect, |
644 iShaftLayout.LayoutRect( sliderRect, |
646 AknLayoutScalable_Apps::cset_slider_pane( 5 ) ); |
645 AknLayoutScalable_Apps::cset_slider_pane( 7 ) ); |
647 // set Contrast slider legend layouts |
646 // set Contrast slider legend layouts |
648 TouchContrastLayoutL( sliderRect ); |
647 TouchContrastLayoutL( sliderRect ); |
649 } |
648 } |
650 else |
649 else |
651 { |
650 { |
999 // Handles slider pointer events |
998 // Handles slider pointer events |
1000 // ----------------------------------------------------------------------------- |
999 // ----------------------------------------------------------------------------- |
1001 // |
1000 // |
1002 void CCamCaptureSetupSlider::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1001 void CCamCaptureSetupSlider::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1003 { |
1002 { |
1004 if(!Rect().Contains(aPointerEvent.iPosition)) |
1003 if( !Rect().Contains(aPointerEvent.iPosition) && iBitmapThumbCurrent != iBitmapThumbSelected ) |
1005 { |
1004 { |
1006 return; |
1005 return; |
1007 } |
1006 } |
1008 CCoeControl::HandlePointerEventL( aPointerEvent ); |
1007 CCoeControl::HandlePointerEventL( aPointerEvent ); |
1009 |
1008 |