AknDraw Class Reference
| 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 &) |
Detailed Description
Helper functions for drawing empty lists and window shadows
Member Function Documentation
DrawEmptyList ( const TRect &, CWindowGc &, TPtrC )
Draws standard empty list
| Parameter | Description | | aRect | the client rectangle |
| aGc | the graphics context |
| aText | text for empty list in format "Line1\nLine2" |
DrawEmptyListForSettingPage ( const TRect &, CWindowGc &, TPtrC )
| IMPORT_C void | DrawEmptyListForSettingPage | ( | const TRect & | aRect, |
| | CWindowGc & | aGc, |
| | TPtrC | text |
| | ) | [static] |
Draws empty list for setting item editing
| Parameter | Description | | aRect | the rectangle of setting page's content |
| aGc | the graphics context |
DrawEmptyListHeading ( const TRect &, CWindowGc &, TPtrC )
| IMPORT_C void | DrawEmptyListHeading | ( | const TRect & | aClientRect, |
| | CWindowGc & | aGc, |
| | TPtrC | aText |
| | ) | [static] |
Draws empty list for lists with heading
| Parameter | Description | | aGc | the graphics context |
| aText | text for empty list in format "Line1\nLine2" |
DrawEmptyListImpl ( const TRect &, CWindowGc &, TPtrC, TInt, TInt )
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 |
DrawEmptyListWithFind ( const TRect &, CWindowGc &, TPtrC )
| IMPORT_C void | DrawEmptyListWithFind | ( | const TRect & | aClientRect, |
| | CWindowGc & | aGc, |
| | TPtrC | aText |
| | ) | [static] |
Draws empty list for lists with find
| Parameter | Description | | aGc | the graphics context |
| aText | text for empty list in format "Line1\nLine2" |
DrawWindowShadow ( CWindowGc &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect &, const TAknLayoutRect & )
| 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 |