#include <W32STDGRAPHIC.H>
Link against:
w32stdgraphic.lib
This item is not part of the S60 5th Edition SDK
Class CWsGraphicBitmapAnimation
class CWsGraphicBitmapAnimation : public CWsGraphic;
Description
Client representation of a window-server-side CFbsBitmap
owned by this Client
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CWsGraphic
- Client representation of a window-server-side piece of artwork owned by this Cli...
CWsGraphicBitmapAnimation
- Client representation of a window-server-side CFbsBitmap owned by this Client
Members
Defined in CWsGraphicBitmapAnimation
:
Inherited from CBase
:
Inherited from CWsGraphic
:
Construction and destruction
IMPORT_C static CWsGraphicBitmapAnimation* NewL(const TFrames &aFrames);
Description
Parameters
Return value
NewL(TUid,const TFrames &)
IMPORT_C static CWsGraphicBitmapAnimation* NewL(TUid aUid, const TFrames &aFrames);
Description
Parameters
Return value
NewL(const TWsGraphicId &,const TFrames &)
IMPORT_C static CWsGraphicBitmapAnimation* NewL(const TWsGraphicId &aReplace, const TFrames &aFrames);
Description
Parameters
Return value
~CWsGraphicBitmapAnimation()
IMPORT_C ~CWsGraphicBitmapAnimation();
Description
IMPORT_C virtual 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.
|
|
IMPORT_C virtual 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 CWsGraphicBitmapAnimation::Share(TSecureId)
.
Return value
TInt
|
KErrNone if the graphic is not globally shared, else one of the system-wide error codes.
|
|
IMPORT_C virtual 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.
|
|
IMPORT_C virtual TInt UnShare(TSecureId aClientId);
Description
Stops this graphic artwork from being shared with all client sessions with the specific Secure ID. CWsGraphicBitmapAnimation::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(const TDesC8 &)
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 .
|
|
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.
class CFrame : public CBase;
Description
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CWsGraphicBitmapAnimation::CFrame
- (No abstract)
Members
Defined in CWsGraphicBitmapAnimation::CFrame
:
Inherited from CBase
:
Construction and destruction
NewL()
IMPORT_C static CFrame* NewL();
Description
Return value
~CFrame()
IMPORT_C ~CFrame();
Description
Member functions
FrameInfo()const
IMPORT_C TFrameInfo FrameInfo() const;
Description
Return value
SetFrameInfo(const TFrameInfo &)
IMPORT_C void SetFrameInfo(const TFrameInfo &aFrameInfo);
Description
Parameters
Bitmap()const
IMPORT_C const CFbsBitmap* Bitmap() const;
Description
Return value
SetBitmap(CFbsBitmap *)
IMPORT_C void SetBitmap(CFbsBitmap *aBitmap);
Description
Parameters
Mask()const
IMPORT_C const CFbsBitmap* Mask() const;
Description
Return value
SetMask(CFbsBitmap *)
IMPORT_C void SetMask(CFbsBitmap *aMask);
Description
Parameters
typedef TArray<CFrame*> CWsGraphicBitmapAnimation::TFrames;
Description