API published in: S60 2nd Ed FP 3
Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib
Required Capabilities
None
#include <aknsrleffectcontext.h>
Skin effect plugins receive a reference to their contexts upon activation. The context is then used to retrieve and manipulate layer data.
The skin renderer sets the size of the layers of the particular skin item being rendered, and may initialize the content of one or more layers. Then the effects are executed, one at a time, to manipulate layer content. Finally, one or more layers are used as the content of the skin item being rendered.
All the layers have the same size. All the RGB channels have the same color depth, and the color depth is either EColor64K
or EColor16MU
. All the alpha channels have color depth EGray256
.
Public Member Functions |
|
virtual | ~MAknsRlEffectContext () |
Destructor for internal use. |
|
virtual const TSize | LayerSize ()=0 |
Retrieves the size of the layers. |
|
virtual void | GetLayerDataL (TAknsRlLayerData &aData, const TInt aLayerIndex, const TInt aLayerStatus, const TBool aInitialize)=0 |
Retrieves the given layer data. |
|
virtual RAknsSrvSession * | GetSkinSrvSession ()=0 |
Retrieves current skin server session. |
|
Destructor for internal use. Destructor is reserved for internal use. Client code must never destroy effect contexts. |
|
Retrieves the given layer data. Retrieves the required objects to manipulate layer content, and optionally initializes the graphical content if the layer is currently unused.
The ownership of the objects included in Calling code must assume any initial brush, pen, or color configuration regarding the graphics devices. After rendering, the plugin must not leave any clipping configuration active in the graphics contexts. Brush, pen, and color configuration may be left in any state.
Only the fields indicated by
Note that both RGB and alpha channels are created, even if the callers requests only one of them. Therefore it is strongly
recommended to use aInitialize parameter with
|
|
Retrieves current skin server session.
|
|
Retrieves the size of the layers. Every layer has the same size. |