TAknContentDimensions Class Reference

API published in: S60 2nd Ed FP 3

Link against: aknicon.lib

Capability Information

Required Capabilities

None


#include <akniconutils.h>

Detailed Description

Class for storing the content dimensions of icons.

Public Member Functions

  TAknContentDimensions ()
  C++ default constructor.
  TAknContentDimensions (TReal32 aWidth, TReal32 aHeight)
  Constructor.
void  SetDimensions (TReal32 aWidth, TReal32 aHeight)
  Sets the content dimensions.
void  SetDimensions (const TSize &aDimensions)
  Sets the content size of the icon.

Data Fields

TReal32  iWidth
  Icons width.
TReal32  iHeight
  Icons height.

Constructor & Destructor Documentation

TAknContentDimensions::TAknContentDimensions  )  [inline]
 

C++ default constructor.

TAknContentDimensions::TAknContentDimensions TReal32  aWidth,
TReal32  aHeight
[inline]
 

Constructor.

Parameters:
aWidth  Icons width.
aHeight  Icons height.

Member Function Documentation

void TAknContentDimensions::SetDimensions const TSize &  aDimensions  )  [inline]
 

Sets the content size of the icon.

Parameters:
aDimensions  Two-dimensional size as a width and a height value of the icon.
void TAknContentDimensions::SetDimensions TReal32  aWidth,
TReal32  aHeight
[inline]
 

Sets the content dimensions.

Parameters:
aWidth  Width of the icon.
aHeight  Height of the icon.

Field Documentation

TReal32 TAknContentDimensions::iHeight
 

Icons height.

TReal32 TAknContentDimensions::iWidth
 

Icons width.


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

Copyright © Nokia Corporation 2001-2008
Back to top