uifw/EikStd/coctlsrc/EIKMENUP.CPP
branchRCL_3
changeset 15 08e69e956a8c
parent 10 9f56a4e1b8ab
child 16 71dd06cfe933
equal deleted inserted replaced
10:9f56a4e1b8ab 15:08e69e956a8c
    66 
    66 
    67 #include <touchfeedback.h>
    67 #include <touchfeedback.h>
    68 #include <AknTasHook.h>
    68 #include <AknTasHook.h>
    69 #include <aknphysics.h>
    69 #include <aknphysics.h>
    70 #include <aknphysicsobserveriface.h>
    70 #include <aknphysicsobserveriface.h>
    71 #include <aknPriv.hrh>
    71 #include <AknPriv.hrh>
    72 #include "aknitemactionmenudata.h"
    72 #include "aknitemactionmenudata.h"
    73 #include "akntrace.h"
    73 #include "akntrace.h"
    74 
    74 
    75 // CONSTANTS
    75 // CONSTANTS
    76 const TInt KItemGranularity = 4;
    76 const TInt KItemGranularity = 4;
  3998                 iExtension->EnableHighlight( EFalse );
  3998                 iExtension->EnableHighlight( EFalse );
  3999                 if ( iOwner )
  3999                 if ( iOwner )
  4000                     {
  4000                     {
  4001                     RepaintHighlight();
  4001                     RepaintHighlight();
  4002                     }
  4002                     }
  4003                 else if ( highlightWasEnabled )
  4003                    else if ( highlightWasEnabled && !iCascadeMenuPane )
  4004                     {
  4004                     {
  4005                     DrawItem( SelectedItem(), ENoHighlight );
  4005                     DrawItem( SelectedItem(), ENoHighlight );
  4006                     }
  4006                     }
  4007                 } 
  4007                 } 
  4008             if ( iOwner && 
  4008             if ( iOwner && 
  4335                             }
  4335                             }
  4336                         IgnoreEventsUntilNextPointerUp();
  4336                         IgnoreEventsUntilNextPointerUp();
  4337                         }
  4337                         }
  4338                     else
  4338                     else
  4339                         {
  4339                         {
  4340                         ReportCanceled();   //Close main menu.
  4340                         _AKNTRACE( "[%s]", "HandlePointerEventL return 12.5" );
       
  4341                         _AKNTRACE_FUNC_EXIT;                   
       
  4342                         return;
  4341                         }
  4343                         }
  4342                     }
  4344                     }
  4343                 }
  4345                 }
  4344 
  4346 
  4345             }
  4347             }