CFsTextureLoader Class Reference
class CFsTextureLoader : public CBase |
Nested Classes and Structures
Public Member Functions |
---|
| ~CFsTextureLoader() |
CFsTexture & | AppendBitmapL(CFbsBitmap *, CFbsBitmap *, TAlfTextureFlags, TInt, const TInt &) |
void | GetFrameInfoL(const TDesC &, TFrameInfo &) |
CFsTexture & | LoadTextureL(const TDesC &, TSize, TAlfTextureFlags, TInt, const TInt &) |
CFsTextureLoader * | NewL(CAlfTextureManager &, MFsTextureObserver &) |
CFsTexture * | SearchById(TInt) |
CFsTexture * | SearchByImageName(const TDesC &, TInt *) |
CFsTexture * | SearchByPos(const TInt &, TInt *) |
void | SetDefaultTimeOut(const TTimeIntervalMicroSeconds32 &) |
void | SetViewL(const TInt &, const TInt &) |
void | SetViewL(const TView &) |
CFsTexture * | TextureAtIndex(const TInt &) |
TInt
| TextureCount() |
void | Unload(CFsTexture &) |
TView
| View() |
Constructor & Destructor Documentation
CFsTextureLoader(CAlfTextureManager &, MFsTextureObserver &)
Parameters
CAlfTextureManager & aManager | Texture manager reference |
MFsTextureObserver & aObserver | Observer reference |
Member Functions Documentation
AppendBitmapL(CFbsBitmap *, CFbsBitmap *, TAlfTextureFlags, TInt, const TInt &)
Create texture from bitmaps
ConstructL()
void | ConstructL | ( | ) | [private] |
DefaultTimeOut(TTimeIntervalMicroSeconds32 &)
Deleted(CFsTexture &)
void | Deleted | ( | CFsTexture & | aTexture | ) | [private, virtual] |
FlagsUpdated(CFsTexture &)
void | FlagsUpdated | ( | CFsTexture & | aTexture | ) | [private, virtual] |
GetFrameInfoL(const TDesC &, TFrameInfo &)
void | GetFrameInfoL | ( | const TDesC & | aImageFileName, |
| TFrameInfo & | aFrameInfo |
| ) | [static] |
Parameters
const TDesC & aImageFileName | Filename |
TFrameInfo & aFrameInfo | Bitmap properties as return value |
LoadTextureL(const TDesC &, TSize, TAlfTextureFlags, TInt, const TInt &)
Parameters
const TDesC & aImageFileName | File |
TSize aTextureMaxSize =
TSize(0, 0) | |
TAlfTextureFlags aFlags = EAlfTextureFlagDefault | |
TInt aId = 0 | Texture unique id, 0 for automation |
const TInt & aLoaderFlags = 0 | Texture loader flags |
NewL(CAlfTextureManager &, MFsTextureObserver &)
Parameters
CAlfTextureManager & aManager | Texture manager reference |
MFsTextureObserver & aObserver | Observer reference |
PosUpdated(CFsTexture &)
void | PosUpdated | ( | CFsTexture & | aTexture | ) | [private, virtual] |
SearchByImageName(const TDesC &, TInt *)
Parameters
const TDesC & aImageFileName | File criteria |
TInt * aIndex = NULL | Index, 0 by default |
SearchByPos(const TInt &, TInt *)
Parameters
const TInt & aPos | Position criteria |
TInt * aIndex = NULL | Index, 0 by default |
SetDefaultTimeOut(const TTimeIntervalMicroSeconds32 &)
Set default timeout for unloading the textures
SetViewL(const TInt &, const TInt &)
void | SetViewL | ( | const TInt & | aStart, |
| const TInt & | aLength |
| ) | |
Parameters
const TInt & aStart | Beginning of view area |
const TInt & aLength | View area length |
SetViewL(const TView &)
void | SetViewL | ( | const TView & | aView | ) | |
Parameters
const TView & aView | View structure |
SizeUpdated(CFsTexture &)
void | SizeUpdated | ( | CFsTexture & | aTexture | ) | [private, virtual] |
TextureAtIndex(const TInt &)
Parameters
const TInt & aIndex | Texture index |
TextureLoadingCompleted(CAlfTexture &, TInt, TInt)
void | TextureLoadingCompleted | ( | CAlfTexture & | aTexture, |
| TInt | aTextureId, |
| TInt | aErrorCode |
| ) | [private] |
Called to notify the observer that loading of a texture has been completed.
Note: One should not commence loading of a new texture in this callback method.
Parameters
CAlfTexture & aTexture | Reference to the texture that has been loaded. |
TInt aTextureId | Id of the texture in the texture manager. Can be used to identify the loaded texture, provided that an id was assigned to the texture. |
TInt aErrorCode | KErrNone if the load was successful, otherwise one of the system-wide error codes indicating reason why the texture loading failed. |
TimerExpiredL(CFsTexture &)
void | TimerExpiredL | ( | CFsTexture & | aTexture | ) | [private, virtual] |
Member Enumerations Documentation
Enum anonymous
Enumerators
EFlagNoneDefined | |
EFlagLoadSyncronously = 1 << 0 | |
EFlagSetStatic = 1 << 1 | |
Member Data Documentation
TTimeIntervalMicroSeconds32
iDefaultTimeOut
CAlfTextureManager & iManager
CAlfTextureManager & | iManager | [private] |
Texture manager reference
MFsTextureObserver & iObserver
CArrayPtr< CFsTexture > * iTextures
CActiveSchedulerWait
iWait
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.