CPbk2IconInfo Class Reference
class CPbk2IconInfo : public CBase
|
Phonebook 2 icon information. Responsible for reading the icon information from a PBK2_ICON_INFO resource structure.
Public Member Functions
|
|
~CPbk2IconInfo
()
|
TAknsItemID
|
ColorId
()
|
TInt
|
ColorIndex
()
|
TInt
|
DefaultColorIndex
()
|
const
CFbsBitmap
*
|
ExternalBitmap
()
|
TSize
|
ExternalIconSize
()
|
const
CFbsBitmap
*
|
ExternalMask
()
|
TInt
|
IconId
()
|
TBool
|
IsIconExternal
()
|
TInt
|
MaskId
()
|
const
TDesC
&
|
MbmFileName
()
|
CPbk2IconInfo
*
|
NewLC
(
TResourceReader
&,
CDesCArray
&)
|
IMPORT_C
CPbk2IconInfo
*
|
NewLC
(
TPbk2IconId
, const
CFbsBitmap
*, const
CFbsBitmap
*, const
TSize
)
|
IMPORT_C
CPbk2IconInfo
*
|
NewLC
(
TPbk2IconId
,
TInt
,
TInt
,
TPtrC
,
TAknsItemID
,
TAknsItemID
,
TInt
,
TInt
)
|
const
TPbk2IconId
&
|
Pbk2IconId
()
|
TAknsItemID
|
SkinId
()
|
Private Member Functions
|
|
CPbk2IconInfo
()
|
|
CPbk2IconInfo
(
TPbk2IconId
,
TInt
,
TInt
,
TPtrC
,
TAknsItemID
,
TAknsItemID
,
TInt
,
TInt
)
|
|
CPbk2IconInfo
(
TPbk2IconId
, const
CFbsBitmap
*, const
CFbsBitmap
*, const
TSize
)
|
void
|
ConstructL
(
TResourceReader
&,
CDesCArray
&)
|
Constructor & Destructor Documentation
CPbk2IconInfo()
CPbk2IconInfo
|
(
|
)
|
[private]
|
CPbk2IconInfo(TPbk2IconId, TInt, TInt, TPtrC, TAknsItemID, TAknsItemID, TInt, TInt)
CPbk2IconInfo(TPbk2IconId, const CFbsBitmap *, const CFbsBitmap *, const TSize)
Member Functions Documentation
ColorId()
Returns this icon's color table id.
ColorIndex()
TInt
|
ColorIndex
|
(
|
)
|
const
|
Returns this icon's index in the color table.
ConstructL(TResourceReader &, CDesCArray &)
DefaultColorIndex()
TInt
|
DefaultColorIndex
|
(
|
)
|
const
|
Returns this icon default color index.
TRgb
value can be retrieved using AKN_LAF_COLOR_STATIC macro.
ExternalBitmap()
Returns external bitmap. This is used when icon is provided by an external provider (e.g a branding package).
ExternalIconSize()
TSize
|
ExternalIconSize
|
(
|
)
|
const
|
Returns external icon size. This is used when icon is provided by an external provider (e.g a branding package).
ExternalMask()
Returns external bitmap mask. This is used when icon is provided by an external provider (e.g a branding package).
IconId()
Returns this icon's id in the bitmap file.
IsIconExternal()
TBool
|
IsIconExternal
|
(
|
)
|
const
|
Check if icon is not own.
MaskId()
Returns this icon's mask id in the bitmap file.
MbmFileName()
const
TDesC
&
|
MbmFileName
|
(
|
)
|
const
|
Returns the bitmap file name of this icon.
NewLC(TResourceReader &, CDesCArray &)
Creates a new instance of this class.
Parameters
TResourceReader
& aReader
|
Resource reader pointed to a PBK2_ICON_INFO resource.
|
CDesCArray
& aMbmFileNames
|
Descriptor array for bitmap file names.
|
NewLC(TPbk2IconId, const CFbsBitmap *, const CFbsBitmap *, const TSize)
Creates a new instance of this class.
NewLC(TPbk2IconId, TInt, TInt, TPtrC, TAknsItemID, TAknsItemID, TInt, TInt)
Creates a new instance of this class.
Parameters
TPbk2IconId
aPbk2IconId
|
Phonebook icon id.
|
TInt
aIconId
|
Icon bitmap id.
|
TInt
aMaskId
|
Mask bitmap id.
|
TPtrC
aMbmFileName
|
Mbm file name.
|
TAknsItemID
aSkinId
|
Skin id.
|
TAknsItemID
aColorId
|
skin color table id.
|
TInt
aColorIndex
|
Index of the icon color in color table.
|
TInt
aDefaultColorIndex
|
Index of the default color.
|
Pbk2IconId()
Returns the unique Phonebook 2 icon id of this icon.
SkinId()
Returns this icon's skin id.
Member Data Documentation
TInt
iColorIndex
TInt
|
iColorIndex
|
[private]
|
TInt
iDefaultColorIndex
TInt
|
iDefaultColorIndex
|
[private]
|
const CFbsBitmap * iExternalBitmap
TBool
iExternalBitmaps
TBool
|
iExternalBitmaps
|
[private]
|
TSize
iExternalIconSize
TSize
|
iExternalIconSize
|
[private]
|
const CFbsBitmap * iExternalMask
TPtrC
iMbmFileName
TPtrC
|
iMbmFileName
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.