uifw/EikStd/coctlsrc/EIKMENUP.CPP
branchRCL_3
changeset 13 a8834a2e9a96
parent 12 941195f2d488
child 15 c52421ed5f07
equal deleted inserted replaced
12:941195f2d488 13:a8834a2e9a96
   839     CEikMenuPane* cascadeMenuPane = iControl->iCascadeMenuPane;
   839     CEikMenuPane* cascadeMenuPane = iControl->iCascadeMenuPane;
   840     if ( cascadeMenuPane )
   840     if ( cascadeMenuPane )
   841         {
   841         {
   842         cascadeMenuPane->SetParent( iControl );
   842         cascadeMenuPane->SetParent( iControl );
   843         GfxTransEffect::Begin( cascadeMenuPane, KGfxControlAppearAction );
   843         GfxTransEffect::Begin( cascadeMenuPane, KGfxControlAppearAction );
   844         if ( CAknTransitionUtils::TransitionsEnabled( AknTransEffect::EComponentTransitionsOff ) )
       
   845             {
       
   846             ImmediateFeedback( ETouchFeedbackSubMenuOpened,
       
   847                                             ETouchFeedbackVibra );
       
   848             }
       
   849         cascadeMenuPane->StartDisplayingMenuPane( iControl->iHotKeyTable,
   844         cascadeMenuPane->StartDisplayingMenuPane( iControl->iHotKeyTable,
   850                                                   iControl->Position(),
   845                                                   iControl->Position(),
   851                                                   NULL,
   846                                                   NULL,
   852                                                   0,
   847                                                   0,
   853                                                   EPopupTargetBottomLeft );
   848                                                   EPopupTargetBottomLeft );
  1254 		
  1249 		
  1255     iFlags.Clear( EHideItemSpecificCommands );
  1250     iFlags.Clear( EHideItemSpecificCommands );
  1256     iFlags.Clear( EContextSensitive );
  1251     iFlags.Clear( EContextSensitive );
  1257     iFlags.Clear( EHighlightEnabled );
  1252     iFlags.Clear( EHighlightEnabled );
  1258     iFlags.Clear( EHideViewSpecificCommands );
  1253     iFlags.Clear( EHideViewSpecificCommands );
       
  1254     iFlags.Clear( EHideMarkAndUnmark ); 
  1259     _AKNTRACE_FUNC_EXIT;
  1255     _AKNTRACE_FUNC_EXIT;
  1260     }
  1256     }
  1261 
  1257 
  1262 
  1258 
  1263 // -----------------------------------------------------------------------------
  1259 // -----------------------------------------------------------------------------
  2285         }
  2281         }
  2286     else
  2282     else
  2287         {
  2283         {
  2288         iExtension->StartCascadeMenuAppearTransition();
  2284         iExtension->StartCascadeMenuAppearTransition();
  2289         }
  2285         }
  2290     iExtension->ImmediateFeedback( ETouchFeedbackPopUp,
  2286 
       
  2287     TTouchLogicalFeedback fbLogicalType = ETouchFeedbackPopUp;
       
  2288     if ( CAknTransitionUtils::TransitionsEnabled( AknTransEffect::EComponentTransitionsOff ) )
       
  2289         {
       
  2290         fbLogicalType = ETouchFeedbackSubMenuOpened;
       
  2291         }
       
  2292     iExtension->ImmediateFeedback( fbLogicalType,
  2291                                        ETouchFeedbackVibra );
  2293                                        ETouchFeedbackVibra );
  2292     _AKNTRACE_FUNC_EXIT;
  2294     _AKNTRACE_FUNC_EXIT;
  2293     }
  2295     }
  2294 
  2296 
  2295 // -----------------------------------------------------------------------------
  2297 // -----------------------------------------------------------------------------