TAknContentDimensions Class Reference

#include <mw/AknIconUtils.h>

class TAknContentDimensions

Detailed Description

Class for storing the content dimensions of icons.

Member Attribute Documentation

iHeight

TReal32 iHeight

Icons height.

iWidth

TReal32 iWidth

Icons width.

Constructor & Destructor Documentation

TAknContentDimensions ( )

TAknContentDimensions()[inline]

C++ default constructor.

TAknContentDimensions ( TReal32, TReal32 )

TAknContentDimensions(TReal32aWidth,
TReal32aHeight
)[inline]

Constructor.

Parameters
aWidthIcons width.
aHeightIcons height.

Member Function Documentation

SetDimensions ( TReal32, TReal32 )

voidSetDimensions(TReal32aWidth,
TReal32aHeight
)[inline]

Sets the content dimensions.

Parameters
aWidthWidth of the icon.
aHeightHeight of the icon.

SetDimensions ( const TSize & )

voidSetDimensions(const TSize &aDimensions)[inline]

Sets the content size of the icon.

Parameters
aDimensionsTwo-dimensional size as a width and a height value of the icon.