Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: W32STDGRAPHIC.H
Link against: w32stdgraphic.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CWsGraphicBitmapAnimation

class CWsGraphicBitmapAnimation : public CWsGraphic;

Description

Client representation of a window-server-side CFbsBitmap owned by this Client

Derivation

Members

Defined in CWsGraphicBitmapAnimation:
CFrame, HandleMessage(), NewL(), NewL(), NewL(), OnReplace(), Share(), ShareGlobally(), TFrames, UnShare(), UnShareGlobally(), ~CWsGraphicBitmapAnimation()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CWsGraphic:
BaseConstructL(), CWsGraphic_Reserved1(), CWsGraphic_Reserved2(), CWsGraphic_Reserved3(), Destroy(), Flush(), Id(), IsActive(), OnClientClose(), SendMessage(), SendSynchronMessage(), SetGraphicExtension()


Construction and destruction


NewL()

static IMPORT_C CWsGraphicBitmapAnimation *NewL(const TFrames &aFrames);

Description

Parameters

const TFrames &aFrames

Return value

CWsGraphicBitmapAnimation *


NewL()

static IMPORT_C CWsGraphicBitmapAnimation *NewL(TUid aUid, const TFrames &aFrames);

Description

Parameters

TUid aUid

const TFrames &aFrames

Return value

CWsGraphicBitmapAnimation *


NewL()

static IMPORT_C CWsGraphicBitmapAnimation *NewL(const TWsGraphicId &aReplace, const TFrames &aFrames);

Description

Parameters

const TWsGraphicId &aReplace

const TFrames &aFrames

Return value

CWsGraphicBitmapAnimation *


~CWsGraphicBitmapAnimation()

IMPORT_C ~CWsGraphicBitmapAnimation();

Description

[Top]


Member functions


ShareGlobally()

virtual IMPORT_C TInt ShareGlobally();

Description

Shares the graphic artwork with all the client sessions. Sharing globally trumps explicit shares.

Return value

TInt

KErrNone if the graphic is globally shared, else one of the system-wide error codes.


UnShareGlobally()

virtual IMPORT_C TInt UnShareGlobally();

Description

Prevents this graphic artwork from being shared with all the client sessions. A graphic artwork that isn't shared explicitly is only available to clients it has been explicitly shared with using Share().

Return value

TInt

KErrNone if the graphic is not globally shared, else one of the system-wide error codes.


Share()

virtual IMPORT_C TInt Share(TSecureId aClientId);

Description

Explicitly shares this graphic artwork with client sessions with the specified Secure ID.

Parameters

TSecureId aClientId

the Secure ID of the client sessions to share with.

Return value

TInt

KErrNone If the graphic artwork was shared, else one of the system-wide error codes.


UnShare()

virtual IMPORT_C TInt UnShare(TSecureId aClientId);

Description

Stops this graphic artwork from being shared with all client sessions with the specific Secure ID. ShareGlobally() trumps explicit sharing.

Parameters

TSecureId aClientId

the Secure ID of the client sessions to not share with

Return value

TInt

KErrNone if the graphic artwork is no longer shared, KErrNotFound if the graphic was not shared anyway, else one of the system-wide error codes


HandleMessage()

private: virtual void HandleMessage(const TDesC8 &aData);

Description

Handles message from this graphic artwork peer on the server.

Parameters

const TDesC8 &aData

Message from peer CWsGraphicDrawer.


OnReplace()

private: virtual void OnReplace();

Description

Handles custom operation when this graphic artwork is replaced. When this method is invoked, the replaced peer CWsGraphicDrawer on the server has been destroyed.

[Top]


Member classes


Class CFrame

class CFrame : public CBase;

Description

Derivation

Members

Defined in CWsGraphicBitmapAnimation::CFrame:
Bitmap(), FrameInfo(), Mask(), NewL(), SetBitmap(), SetFrameInfo(), SetMask(), ~CFrame()

Inherited from CBase:
Delete(), Extension_(), operator new()

Construction and destruction


NewL()

static IMPORT_C CFrame *NewL();

Description

Return value

CFrame *


~CFrame()

IMPORT_C ~CFrame();

Description

Member functions


FrameInfo()

IMPORT_C TFrameInfo FrameInfo() const;

Description

Return value

TFrameInfo


SetFrameInfo()

IMPORT_C void SetFrameInfo(const TFrameInfo &aFrameInfo);

Description

Parameters

const TFrameInfo &aFrameInfo


Bitmap()

IMPORT_C const CFbsBitmap *Bitmap() const;

Description

Return value

const CFbsBitmap *


SetBitmap()

IMPORT_C void SetBitmap(CFbsBitmap *aBitmap);

Description

Parameters

CFbsBitmap *aBitmap


Mask()

IMPORT_C const CFbsBitmap *Mask() const;

Description

Return value

const CFbsBitmap *


SetMask()

IMPORT_C void SetMask(CFbsBitmap *aMask);

Description

Parameters

CFbsBitmap *aMask

[Top]


Member type definitions


Typedef TFrames

typedef TArray<CFrame*> CWsGraphicBitmapAnimation::TFrames;

Description