CAknIcon Class Reference

#include <mw/AknIconUtils.h>

class CAknIcon : public CBase

Inherits from

  • CAknIcon

    Detailed Description

    Cleanup stack helper. Owns the bitmap and the mask.

    Constructor & Destructor Documentation

    ~CAknIcon ( )

    ~CAknIcon()

    Destructor.

    Member Function Documentation

    Bitmap ( )

    IMPORT_C CFbsBitmap *Bitmap()const

    Gets the bitmap.

    Returns: The icon's bitmap.

    Mask ( )

    IMPORT_C CFbsBitmap *Mask()const

    Gets the mask.

    Returns: The icon's mask.

    NewL ( )

    IMPORT_C CAknIcon *NewL()[static]

    Two-phased constructor.

    Creates and returns a pointer to a new CAknIcon object.

    Returns: New CAknIcon.

    SetBitmap ( CFbsBitmap * )

    IMPORT_C voidSetBitmap(CFbsBitmap *aBitmap)

    Sets the bitmap.

    ParameterDescription
    aBitmapThe icon's bitmap.

    SetMask ( CFbsBitmap * )

    IMPORT_C voidSetMask(CFbsBitmap *aMask)

    Sets the mask.

    ParameterDescription
    aMaskThe icon's mask.