class TGulBorder::TColors |
Represents the colours used within the border and for the optional single pixel border outlines.
These colours are stored using TRgb values.
An object of this type can be populated using ColorUtils::GetRgbDerivedBorderColors() .
The colours used inside the border are derived from iBack, the border's background colour, so that border colours can be lighter or darker shades of the colour used in the main body of the control they enclose. Different combinations of light and dark shades are used to draw opposite border sides, to achieve a raised or sunken effect.
Public Member Functions | |
---|---|
TColors () |
Public Attributes | |
---|---|
TRgb | iBack |
TRgb | iDark |
TRgb | iInternalBack |
TRgb | iLight |
TRgb | iLine |
TRgb | iMid |
TRgb | iMidlight |
IMPORT_C | TColors | ( | ) |
Default constructor.
Initialises the border colours to blacks, whites and greys. For details, see the data members.
TRgb | iBack |
The background colour for the border.
The other colours used in the border are derived from this.
By default, KRgbWhite.
TRgb | iLine |
The line colour.
This is the colour used to draw the outlines on either side of the border. Not all border types have an outline. By default, KRgbBlack.
TRgb | iMid |
The mid dark colour.
This colour is midway between iBack and iDark. By default, KRgbDarkGray.
TRgb | iMidlight |
The mid light colour.
This colour is midway between iBack and iLight. By default, KRgbWhite.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.