AknDrawWithSkins Class Reference

class AknDrawWithSkins

Helper functions for drawing empty lists and window shadows

Public Member Functions
IMPORT_C voidDrawEmptyList(const TRect &, CWindowGc &, TPtrC, CCoeControl *)
IMPORT_C voidDrawEmptyListForSettingPage(const TRect &, CWindowGc &, TPtrC, CCoeControl *)
IMPORT_C voidDrawEmptyListHeading(const TRect &, CWindowGc &, TPtrC, CCoeControl *)
IMPORT_C voidDrawEmptyListWithFind(const TRect &, CWindowGc &, TPtrC, CCoeControl *)
IMPORT_C voidDrawWindowShadow(CWindowGc &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, CCoeControl *)

Member Functions Documentation

DrawEmptyList(const TRect &, CWindowGc &, TPtrC, CCoeControl *)

IMPORT_C voidDrawEmptyList(const TRect &aRect,
CWindowGc &aGc,
TPtrCaText,
CCoeControl *aControl
)[static]

Draws standard empty list

Parameters

const TRect & aRectthe client rectangle
CWindowGc & aGcthe graphics context
TPtrC aTexttext for empty list in format "Line1\nLine2"
CCoeControl * aControl

DrawEmptyListForSettingPage(const TRect &, CWindowGc &, TPtrC, CCoeControl *)

IMPORT_C voidDrawEmptyListForSettingPage(const TRect &aRect,
CWindowGc &aGc,
TPtrCtext,
CCoeControl *aControl
)[static]

Draws empty list for setting item editing

Parameters

const TRect & aRectthe rectangle of setting page's content
CWindowGc & aGcthe graphics context
TPtrC text
CCoeControl * aControl

DrawEmptyListHeading(const TRect &, CWindowGc &, TPtrC, CCoeControl *)

IMPORT_C voidDrawEmptyListHeading(const TRect &aClientRect,
CWindowGc &aGc,
TPtrCaText,
CCoeControl *aControl
)[static]

Draws empty list for lists with heading

Parameters

const TRect & aClientRect
CWindowGc & aGcthe graphics context
TPtrC aTexttext for empty list in format "Line1\nLine2"
CCoeControl * aControl

DrawEmptyListWithFind(const TRect &, CWindowGc &, TPtrC, CCoeControl *)

IMPORT_C voidDrawEmptyListWithFind(const TRect &aClientRect,
CWindowGc &aGc,
TPtrCaText,
CCoeControl *aControl
)[static]

Draws empty list for lists with find

Parameters

const TRect & aClientRect
CWindowGc & aGcthe graphics context
TPtrC aTexttext for empty list in format "Line1\nLine2"
CCoeControl * aControl

DrawWindowShadow(CWindowGc &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, CCoeControl *)

IMPORT_C voidDrawWindowShadow(CWindowGc &aGc,
const TAknLayoutRect &aCoverRect,
const TAknLayoutRect &aSecondShadowRect,
const TAknLayoutRect &aFirstShadowRect,
const TAknLayoutRect &aOutlineFrameRect,
const TAknLayoutRect &aInsideAreaRect,
CCoeControl *aControl
)[static]

Draws a window shadow

Parameters

CWindowGc & aGc
const TAknLayoutRect & aCoverRectthe area covered by the shadow
const TAknLayoutRect & aSecondShadowRectthe area used for second shadow
const TAknLayoutRect & aFirstShadowRectthe area of first shadow
const TAknLayoutRect & aOutlineFrameRect
const TAknLayoutRect & aInsideAreaRectthe area of content inside the window
CCoeControl * aControl