classicui_pub/options_menu_api/inc/EIKMENUP.H
branchRCL_3
changeset 25 941195f2d488
parent 23 3d340a0166ff
child 38 c52421ed5f07
equal deleted inserted replaced
23:3d340a0166ff 25:941195f2d488
   927     
   927     
   928     /**
   928     /**
   929      * Enables the default highlight in menu
   929      * Enables the default highlight in menu
   930      */
   930      */
   931     void SetDefaultHighlight();
   931     void SetDefaultHighlight();
       
   932 
       
   933     /**
       
   934      * Updates flag which is used for hiding mark and unmark -commands from 
       
   935      * submenus. This is called with ETrue when collection has marked items. 
       
   936      *
       
   937      * @param aHide ETrue to hide, EFalse to show
       
   938      */
       
   939     void HideMarkAndUnmark( TBool aHide );
   932     
   940     
   933 private:
   941 private:
   934     enum { EInvalidCurrentSize=0x01, EBackgroundFaded=0x02 };
   942     enum { EInvalidCurrentSize=0x01, EBackgroundFaded=0x02 };
   935     
   943     
   936 private: // new functions
   944 private: // new functions
  1012      * Calculates the height of menu items.
  1020      * Calculates the height of menu items.
  1013 	 *
  1021 	 *
  1014 	 * @return Item height.
  1022 	 * @return Item height.
  1015      */
  1023      */
  1016     TInt CalculateItemHeight() const;
  1024     TInt CalculateItemHeight() const;
       
  1025     
       
  1026     /**
       
  1027      * Cleans the internal pointer which is used 
       
  1028      * to track object deletion.
       
  1029      * 
       
  1030      * @param aParam Pointer to options menu object.
       
  1031      */
       
  1032     static void CleanLocalRef( TAny* aParam );
  1017 
  1033 
  1018 protected: // from CoeControl
  1034 protected: // from CoeControl
  1019 
  1035 
  1020     /**
  1036     /**
  1021      * From @c CCoeControl.
  1037      * From @c CCoeControl.