mulwidgets/mulsliderwidget/src/mulslidercontrol.cpp
branchRCL_3
changeset 23 514d98f21c43
parent 21 125793e17004
--- a/mulwidgets/mulsliderwidget/src/mulslidercontrol.cpp	Tue May 25 13:16:14 2010 +0300
+++ b/mulwidgets/mulsliderwidget/src/mulslidercontrol.cpp	Mon Jun 21 16:15:51 2010 +0300
@@ -243,14 +243,14 @@
 //TactileEffectOnDrag
 //
 //----------------------------------------------------------------------
-void MulSliderControl::TactileEffectOnDrag(TAlfEvent& aEvent)
+void MulSliderControl::TactileEffectOnDrag(TAlfEvent& aEvent, int aIntensity)
 {            
  if (mTactilefdbInstance)
   {
     CCoeControl* ccoecntrl = static_cast<CCoeControl*>(Display()->ObjectProvider());
-    TInt intensity = 50;
+    TInt intensity = aIntensity;
     TTimeIntervalMicroSeconds32 timespan = 400000;
-    mTactilefdbInstance->StartFeedback(ccoecntrl,ETouchContinuousSlider,&aEvent.PointerEvent(),intensity,timespan);
+    mTactilefdbInstance->StartFeedback(ccoecntrl,ETouchDynamicSlider,&aEvent.PointerEvent(),intensity,timespan);
     mDragTactileFeedbackStarted = true;
    }
 }