ColorUtils Class Reference

class ColorUtils

Provides static functions for manipulating colours.

TDisplayMode

Member Functions Documentation

ColorAdjust(TRgb, TInt)

IMPORT_C TRgbColorAdjust(TRgbaColor,
TIntaPercentage
)[static]

Parameters

TRgb aColor
TInt aPercentage

CreateGradientBitmapL(CFbsBitmap &, const RWsSession &, TInt, TBitmapOrientation, TRgb, TRgb)

IMPORT_C voidCreateGradientBitmapL(CFbsBitmap &aBitmap,
const RWsSession &aWs,
TIntaBreadth,
TBitmapOrientationaOrientation,
TRgbaStartColor,
TRgbaEndColor
)[static]

Parameters

CFbsBitmap & aBitmap
const RWsSession & aWs
TInt aBreadth
TBitmapOrientation aOrientation
TRgb aStartColor
TRgb aEndColor

CreateSystemColorListL(RFs &)

IMPORT_C CColorList *CreateSystemColorListL(RFs &aFs)[static]

Parameters

RFs & aFs

CreateSystemColorListL(RFs &, const CColorList &)

IMPORT_C CColorList *CreateSystemColorListL(RFs &aFs,
const CColorList &aColorList
)[static]

Parameters

RFs & aFs
const CColorList & aColorList

GetRgbDerivedBorderColors(TGulBorder::TColors &, TRgb, TDisplayMode)

IMPORT_C voidGetRgbDerivedBorderColors(TGulBorder::TColors &aBorderColors,
TRgbaBackgroundColor,
TDisplayModeaMode
)[static]

Parameters

TGulBorder::TColors & aBorderColors
TRgb aBackgroundColor
TDisplayMode aMode

RgbDarkerColor(TRgb, TDisplayMode)

IMPORT_C TRgbRgbDarkerColor(TRgbaRgb,
TDisplayModeaMode
)[static]

Parameters

TRgb aRgb
TDisplayMode aMode

RgbLighterColor(TRgb, TDisplayMode)

IMPORT_C TRgbRgbLighterColor(TRgbaRgb,
TDisplayModeaMode
)[static]

Parameters

TRgb aRgb
TDisplayMode aMode

RgbMidDarkerColor(TRgb, TDisplayMode)

IMPORT_C TRgbRgbMidDarkerColor(TRgbaRgb,
TDisplayModeaMode
)[static]

Parameters

TRgb aRgb
TDisplayMode aMode

UpdateSystemColorListL(RFs &, CColorList &)

IMPORT_C voidUpdateSystemColorListL(RFs &aFs,
CColorList &aColorList
)[static]

Parameters

RFs & aFs
CColorList & aColorList

Member Enumerations Documentation

Enum TBitmapOrientation

The orientation of a bitmap.

Enumerators

EBitmapOrientationVertical

The bitmap is vertical.

EBitmapOrientationHorizontal

The bitmap is horizontal.