meetingrequest/mrguicommon/inc/cmrbutton.h
branchRCL_3
changeset 22 d620048b4810
parent 16 b5fbb9b25d57
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
    32 public:
    32 public:
    33     /**
    33     /**
    34      * Two-phased constructor.
    34      * Two-phased constructor.
    35      *
    35      *
    36      * @param aBitmapId
    36      * @param aBitmapId
       
    37      * @param aParent parent control
    37      * @param aScaleMode 
    38      * @param aScaleMode 
    38      * @return Pointer to created and initialized mr image object.
    39      * @return Pointer to created and initialized mr image object.
    39      */
    40      */
    40      IMPORT_C static CMRButton* NewL(
    41      IMPORT_C static CMRButton* NewL(
    41              NMRBitmapManager::TMRBitmapId aBitmapId, 
    42              NMRBitmapManager::TMRBitmapId aBitmapId,
       
    43              const CCoeControl* aParent = NULL,
    42              TScaleMode aScaleMode = EAspectRatioPreserved );
    44              TScaleMode aScaleMode = EAspectRatioPreserved );
    43 
    45 
    44     /**
    46     /**
    45      * C++ Destructor
    47      * C++ Destructor
    46      */
    48      */
    51 private:
    53 private:
    52     /**
    54     /**
    53      * C++ default constructor
    55      * C++ default constructor
    54      */
    56      */
    55     CMRButton( TScaleMode aScaleMode );
    57     CMRButton( TScaleMode aScaleMode );
    56     void ConstructL( NMRBitmapManager::TMRBitmapId aBitmapId );
    58     void ConstructL(
       
    59             NMRBitmapManager::TMRBitmapId aBitmapId,
       
    60             const CCoeControl* aParent );
    57     
    61     
    58 private:
    62 private:
    59     TScaleMode iScaleMode;
    63     TScaleMode iScaleMode;
    60     };
    64     };
    61 
    65