AknDrawWithSkins Class Reference

class AknDrawWithSkins

Helper functions for drawing empty lists and window shadows

Member Functions Documentation

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

IMPORT_C void DrawEmptyList ( const TRect & aRect,
CWindowGc & aGc,
TPtrC aText,
CCoeControl * aControl
) [static]

Draws standard empty list

Parameters

const TRect & aRect the client rectangle
CWindowGc & aGc the graphics context
TPtrC aText text for empty list in format "Line1\nLine2"
CCoeControl * aControl

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

IMPORT_C void DrawEmptyListForSettingPage ( const TRect & aRect,
CWindowGc & aGc,
TPtrC text,
CCoeControl * aControl
) [static]

Draws empty list for setting item editing

Parameters

const TRect & aRect the rectangle of setting page's content
CWindowGc & aGc the graphics context
TPtrC text
CCoeControl * aControl

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

IMPORT_C void DrawEmptyListHeading ( const TRect & aClientRect,
CWindowGc & aGc,
TPtrC aText,
CCoeControl * aControl
) [static]

Draws empty list for lists with heading

Parameters

const TRect & aClientRect
CWindowGc & aGc the graphics context
TPtrC aText text for empty list in format "Line1\nLine2"
CCoeControl * aControl

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

IMPORT_C void DrawEmptyListWithFind ( const TRect & aClientRect,
CWindowGc & aGc,
TPtrC aText,
CCoeControl * aControl
) [static]

Draws empty list for lists with find

Parameters

const TRect & aClientRect
CWindowGc & aGc the graphics context
TPtrC aText text for empty list in format "Line1\nLine2"
CCoeControl * aControl

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

IMPORT_C void DrawWindowShadow ( 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 & aCoverRect the area covered by the shadow
const TAknLayoutRect & aSecondShadowRect the area used for second shadow
const TAknLayoutRect & aFirstShadowRect the area of first shadow
const TAknLayoutRect & aOutlineFrameRect
const TAknLayoutRect & aInsideAreaRect the area of content inside the window
CCoeControl * aControl