class AknDraw |
Helper functions for drawing empty lists and window shadows
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 &) |
IMPORT_C void | DrawEmptyList | ( | const TRect & | aRect, |
CWindowGc & | aGc, | |||
TPtrC | aText | |||
) | [static] |
Draws standard empty list
IMPORT_C void | DrawEmptyListForSettingPage | ( | const TRect & | aRect, |
CWindowGc & | aGc, | |||
TPtrC | text | |||
) | [static] |
Draws empty list for setting item editing
IMPORT_C void | DrawEmptyListHeading | ( | const TRect & | aClientRect, |
CWindowGc & | aGc, | |||
TPtrC | aText | |||
) | [static] |
Draws empty list for lists with heading
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..."
IMPORT_C void | DrawEmptyListWithFind | ( | const TRect & | aClientRect, |
CWindowGc & | aGc, | |||
TPtrC | aText | |||
) | [static] |
Draws empty list for lists with find
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
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 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.