#include <w32stdgraphic.h>
Link against: w32stdgraphic.lib
| class CWsGraphicBitmap : public CWsGraphic, public CWsGraphic |
| Public Member Functions | |
|---|---|
| ~CWsGraphicBitmap() | |
| IMPORT_C CWsGraphicBitmap * | NewL(const CFbsBitmap *, const CFbsBitmap *) |
| IMPORT_C CWsGraphicBitmap * | NewL(TUid, const CFbsBitmap *, const CFbsBitmap *) |
| IMPORT_C CWsGraphicBitmap * | NewL(const TWsGraphicId &, const CFbsBitmap *, const CFbsBitmap *) |
| virtual IMPORT_C TInt | Share(TSecureId) |
| virtual IMPORT_C TInt | ShareGlobally() |
| virtual IMPORT_C TInt | UnShare(TSecureId) |
| virtual IMPORT_C TInt | UnShareGlobally() |
Client representation of a window-server-side CFbsBitmap owned by this Client
| IMPORT_C | ~CWsGraphicBitmap | ( | ) |
| IMPORT_C CWsGraphicBitmap * | NewL | ( | const CFbsBitmap * | aBitmap, |
| const CFbsBitmap * | aMask | |||
| ) | [static] | |||
Constructs the client representation of a window-server-side CFbsBitmap owned by this Client. The base class CWsGraphic is therefore constructed having KStdBitmapType as artwork type.
| Parameters | |
|---|---|
| aBitmap | CFbsBitmap owned by the Client |
| aMask | Bitmap's Mask. |
| IMPORT_C CWsGraphicBitmap * | NewL | ( | TUid | aUid, |
| const CFbsBitmap * | aBitmap, | |||
| const CFbsBitmap * | aMask | |||
| ) | [static] | |||
Constructs the client representation of a window-server-side CFbsBitmap owned by this Client. The base class CWsGraphic is therefore constructed having KStdBitmapType as artwork type.
| Parameters | |
|---|---|
| aUid | Graphic Bitmap UID. |
| aBitmap | CFbsBitmap owned by the Client |
| aMask | Bitmap's Mask. |
| IMPORT_C CWsGraphicBitmap * | NewL | ( | const TWsGraphicId & | aReplace, |
| const CFbsBitmap * | aBitmap, | |||
| const CFbsBitmap * | aMask | |||
| ) | [static] | |||
Constructs the client representation of a window-server-side CFbsBitmap owned by this Client. The base class CWsGraphic is therefore constructed having KStdBitmapType as artwork type.
Atomically replace the artwork that already exists with this artwork (i.e. aBitmap) . If failure to properly construct the replacement artwork occurs, the replacee artwork will remain
| Parameters | |
|---|---|
| aReplace | Bitmap artwork which will be replaced. |
| aBitmap | CFbsBitmap owned by the Client |
| aMask | Bitmap's Mask. |
Reimplemented from CWsGraphic::Share(TSecureId)
Explicitly shares this graphic artwork with client sessions with the specified Secure ID.
| Parameters | |
|---|---|
| aClientId | the Secure ID of the client sessions to share with. |
| IMPORT_C TInt | ShareGlobally | ( | ) | [virtual] |
Reimplemented from CWsGraphic::ShareGlobally()
Shares the graphic artwork with all the client sessions. Sharing globally trumps explicit shares.
Reimplemented from CWsGraphic::UnShare(TSecureId)
Stops this graphic artwork from being shared with all client sessions with the specific Secure ID. ShareGlobally() trumps explicit sharing.
| Parameters | |
|---|---|
| aClientId | the Secure ID of the client sessions to not share with |
| IMPORT_C TInt | UnShareGlobally | ( | ) | [virtual] |
Reimplemented from CWsGraphic::UnShareGlobally()
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().