Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GRDSTD.H>
Link against: grid.lib

Class TGridColors

class TGridColors;

Description

The grid colour specification.

An object of this type encapsulates the colours to be used when drawing a grid cell.

Members

Defined in TGridColors:

See also:


Construction and destruction


TGridColors()

IMPORT_C TGridColors();

Description

Default constructor.

Sets the colours to their default values: foreground colour to the RGB value TRgb(0,0,0), background colour to the RGB value TRgb(255,255,255), the colour of lines to the RGB value TRgb(170,170,170), and the colour of label separators to the RGB value TRgb(0,0,0).


TGridColors(TRgb,TRgb,TRgb,TRgb)

IMPORT_C TGridColors(TRgb aForeground, TRgb aBackground, TRgb aLines, TRgb aLabelSeparators);

Description

Constructor setting the colour values.

Parameters

TRgb aForeground

The foreground colour value.

TRgb aBackground

The background colour value.

TRgb aLines

The colour of lines.

TRgb aLabelSeparators

The colour of label separators.

[Top]


Member data


iForeground

TRgb iForeground;

Description

The foreground colour.


iBackground

TRgb iBackground;

Description

The background colour.


iLines

TRgb iLines;

Description

The colour of lines.


iLabelSeparators

TRgb iLabelSeparators;

Description

The colour of label separators.