#include <mw/AknUtils.h>
class AknDraw |
Public Member Functions | |
---|---|
IMPORT_C void | DrawEmptyList(const TRect &, CWindowGc &, TPtrC) |
IMPORT_C void | DrawEmptyListForSettingPage(const TRect &, CWindowGc &, TPtrC) |
IMPORT_C void | DrawEmptyListHeading(const TRect &, CWindowGc &, TPtrC) |
IMPORT_C void | DrawEmptyListImpl(const TRect &, CWindowGc &, TPtrC, TInt, TInt) |
IMPORT_C void | DrawEmptyListWithFind(const TRect &, CWindowGc &, TPtrC) |
IMPORT_C void | DrawWindowShadow(CWindowGc &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &) |
Helper functions for drawing empty lists and window shadows
IMPORT_C void | DrawEmptyListImpl | ( | const TRect & | aRect, |
CWindowGc & | aGc, | |||
TPtrC | aText, | |||
TInt | aLayoutLine1, | |||
TInt | aLayoutLine2 | |||
) | [static] |
The main implementation routine for empty list drawing. layouts with large font: "Line 1" "Long line. This will be wrapped to 2 lines and 2nd will be trunca..." "Line 1\nLine 2"
layout with 1 line of large font and up to 3 lines with small font: "Line 1\nLong line, will be wrapped up to 3 lines with small font and..."
Parameter | Description |
---|---|
aRect | the client rectangle |
aGc | the graphics context |
aText | text for empty list in one of following formats: |
aLayoutLine1 | Resource id of AVKON_LAYOUT_TEXT for first line layout |
aLayoutLine2 | Resource id of AVKON_LAYOUT_TEXT for second line layout |
IMPORT_C void | DrawWindowShadow | ( | CWindowGc & | aGc, |
const TAknLayoutRect & | aCoverRect, | |||
const TAknLayoutRect & | aSecondShadowRect, | |||
const TAknLayoutRect & | aFirstShadowRect, | |||
const TAknLayoutRect & | aOutlineFrameRect, | |||
const TAknLayoutRect & | aInsideAreaRect | |||
) | [static] |
Draws a window shadow
Parameter | Description |
---|---|
aCoverRect | the area covered by the shadow |
aSecondShadowRect | the area used for second shadow |
aFirstShadowRect | the area of first shadow |
aInsideAreaRect | the area of content inside the window |