AknDrawWithSkins Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikcore.lib

Capability Information

Required Capabilities

None


#include <aknutils.h>

Detailed Description

Helper functions for drawing empty lists and window shadows.

Static Public Member Functions

static IMPORT_C void  DrawEmptyList (const TRect &aRect, CWindowGc &aGc, TPtrC aText, CCoeControl *aControl)
  Draws standard empty list.
static IMPORT_C void  DrawEmptyListForSettingPage (const TRect &aRect, CWindowGc &aGc, TPtrC text, CCoeControl *aControl)
  Draws empty list for setting item editing.
static IMPORT_C void  DrawEmptyListWithFind (const TRect &aClientRect, CWindowGc &aGc, TPtrC aText, CCoeControl *aControl)
  Draws empty list for lists with find.
static IMPORT_C void  DrawEmptyListHeading (const TRect &aClientRect, CWindowGc &aGc, TPtrC aText, CCoeControl *aControl)
  Draws empty list for lists with heading.
static IMPORT_C void  DrawWindowShadow (CWindowGc &aGc, const TAknLayoutRect &aCoverRect, const TAknLayoutRect &aSecondShadowRect, const TAknLayoutRect &aFirstShadowRect, const TAknLayoutRect &aOutlineFrameRect, const TAknLayoutRect &aInsideAreaRect, CCoeControl *aControl)
  Draws a window shadow.

Member Function Documentation

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

Draws standard empty list.

Parameters:
aRect  the client rectangle
aGc  the graphics context
aText  text for empty list in format "Line1\nLine2"
static IMPORT_C void AknDrawWithSkins::DrawEmptyListForSettingPage const TRect &  aRect,
CWindowGc &  aGc,
TPtrC  text,
CCoeControl *  aControl
[static]
 

Draws empty list for setting item editing.

Parameters:
aRect  the rectangle of setting page's content
aGc  the graphics context
aText  text for empty list in format "Line1\nLine2"
static IMPORT_C void AknDrawWithSkins::DrawEmptyListHeading const TRect &  aClientRect,
CWindowGc &  aGc,
TPtrC  aText,
CCoeControl *  aControl
[static]
 

Draws empty list for lists with heading.

Parameters:
aRect  the client rectangle
aGc  the graphics context
aText  text for empty list in format "Line1\nLine2"
static IMPORT_C void AknDrawWithSkins::DrawEmptyListWithFind const TRect &  aClientRect,
CWindowGc &  aGc,
TPtrC  aText,
CCoeControl *  aControl
[static]
 

Draws empty list for lists with find.

Parameters:
aRect  the client rectangle
aGc  the graphics context
aText  text for empty list in format "Line1\nLine2"
static IMPORT_C void AknDrawWithSkins::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:
aCoverRect  the area covered by the shadow
aSecondShadowRect  the area used for second shadow
aFirstShadowRect  the area of first shadow
aOutliineFrameRect  the area of black outline frame
aInsideAreaRect  the area of content inside the window

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top