Alf::ResourcePoolImpl Class Reference

class Alf::ResourcePoolImpl

?one_line_short_description ?more_complete_description

        ?good_class_usage_example(s)
       
?library
Since
S60 ?S60_version *** for example, S60 v3.0

Constructor & Destructor Documentation

ResourcePoolImpl(CAlfTextureManager &, ResourcePool *)

ResourcePoolImpl ( CAlfTextureManager & aTextureManager,
ResourcePool * aParentPool
)

Parameters

CAlfTextureManager & aTextureManager
ResourcePool * aParentPool

~ResourcePoolImpl()

~ResourcePoolImpl ( )

Member Functions Documentation

CreateFileImageResourceL(FileImageResource &, const TAlfXYMetric &, TAlfTextureFlags)

TAlfImage CreateFileImageResourceL ( FileImageResource & aFileImageResource,
const TAlfXYMetric & aSizeHint,
TAlfTextureFlags aFlag
) [private]

Parameters

FileImageResource & aFileImageResource
const TAlfXYMetric & aSizeHint
TAlfTextureFlags aFlag

CreateSVGImageResourceL(FileImageResource &, const TAlfXYMetric &)

TAlfImage CreateSVGImageResourceL ( FileImageResource & aSVGImageResource,
const TAlfXYMetric & aSizeHint
) [private]

Parameters

FileImageResource & aSVGImageResource
const TAlfXYMetric & aSizeHint

CreateSkinImageResourceL(SkinImageResource &, const TAlfXYMetric &)

TAlfImage CreateSkinImageResourceL ( SkinImageResource & aSkinImageResource,
const TAlfXYMetric & aSizeHint
) [private]

Parameters

SkinImageResource & aSkinImageResource
const TAlfXYMetric & aSizeHint

DetermineSkinInstanceL(const Utf8 *, TAknsItemID &)

void DetermineSkinInstanceL ( const Utf8 * aTag,
TAknsItemID & aSkinItemID
) const [private]

Parameters

const Utf8 * aTag
TAknsItemID & aSkinItemID

areSizesCloseEnough(const TSize &, const TSize &)

bool areSizesCloseEnough ( const TSize & aSize1,
const TSize & aSize2
) [private, static]

Parameters

const TSize & aSize1
const TSize & aSize2

createFileImageResource(const Utf8 *, const UString &, TAlfTextureFlags)

void createFileImageResource ( const Utf8 * aTag,
const UString & aFileName,
TAlfTextureFlags aFlag
)

Parameters

const Utf8 * aTag
const UString & aFileName
TAlfTextureFlags aFlag

createLogicalImageResource(const Utf8 *)

void createLogicalImageResource ( const Utf8 * aTag )

Parameters

const Utf8 * aTag

createThemeImageResource(const Utf8 *, const UString &)

void createThemeImageResource ( const Utf8 * aTag,
const UString & aThemeDefinition
)

Parameters

const Utf8 * aTag
const UString & aThemeDefinition

deleteImageResource(const Utf8 *)

void deleteImageResource ( const Utf8 * aTag )

Parameters

const Utf8 * aTag

determineSizeInPixels(const TAlfXYMetric &)

TSize determineSizeInPixels ( const TAlfXYMetric & aSize ) [private]

Parameters

const TAlfXYMetric & aSize

determineSkinId(const UString &, int &)

void determineSkinId ( const UString & aNumberString,
int & aSkinItem
) [private]

Parameters

const UString & aNumberString
int & aSkinItem

findResource(const Utf8 *)

ImageResource * findResource ( const Utf8 * aTag ) const [private]

Parameters

const Utf8 * aTag

findResourceIndex(const Utf8 *)

int findResourceIndex ( const Utf8 * aTag ) const [private]

Parameters

const Utf8 * aTag

getImageResource(const Utf8 *)

TAlfImage getImageResource ( const Utf8 * aTag )

Parameters

const Utf8 * aTag

getImageResource(const Utf8 *, const TAlfXYMetric &)

TAlfImage getImageResource ( const Utf8 * aTag,
const TAlfXYMetric & aSizeHint
)

Parameters

const Utf8 * aTag
const TAlfXYMetric & aSizeHint

hasImageResource(const Utf8 *)

bool hasImageResource ( const Utf8 * aTag ) const

Parameters

const Utf8 * aTag

setAspectRatio(const Utf8 *, ResourcePool::AspectRatio)

void setAspectRatio ( const Utf8 * aTag,
ResourcePool::AspectRatio aAspectRatio
)

Parameters

const Utf8 * aTag
ResourcePool::AspectRatio aAspectRatio

setInitialSize(const Utf8 *, const TAlfXYMetric &)

void setInitialSize ( const Utf8 * aTag,
const TAlfXYMetric & aInitialSizeHint
)

Parameters

const Utf8 * aTag
const TAlfXYMetric & aInitialSizeHint

Member Enumerations Documentation

Enum ImageResourceType

Enumerators

imageResourceTypeSkin
imageResourceTypeFileSVG
imageResourceTypeFileOther

Member Data Documentation

ResourcePool * mParentPool

ResourcePool * mParentPool [private]

AlfPtrVector< ImageResource > mResources

AlfPtrVector < ImageResource > mResources [private]

CAlfTextureManager & mTextureManager

CAlfTextureManager & mTextureManager [private]