Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: gdi.h

Macros

Support

Supported from 5.0


EGA Low-colour constants

Description

The following colour constants are provided. They are the standard colours in the EGA specification, and are used in the EColor16 display mode.


KRgbBlack

KRgbBlack

Description

Black. EColor16 colour Index=0. TRgb value = 0x000000


KRgbBlue

KRgbBlue

Description

Blue. EColor16 colour Index=5. TRgb value = 0x555555


KRgbCyan

KRgbCyan

Description

Cyan. EColor16 colour Index=13. TRgb value = 0xFFFF00


KRgbDarkBlue

KRgbDarkBlue

Description

Dark blue. EColor16 colour index=5. TRgb value = 0xFF0000


KRgbDarkCyan

KRgbDarkCyan

Description

Dark cyan. EColor16 colour index=7. TRgb value = 0x808000


KRgbDarkGray

KRgbDarkGray

Description

Dark grey. EColor16 colour index=1. TRgb value = 0x555555


KRgbDarkGreen

KRgbDarkGreen

Description

Dark green. EColor16 colour index=3. TRgb value = 0x008000


KRgbDarkMagenta

KRgbDarkMagenta

Description

Dark magenta. EColor16 colour index=6. TRgb value = 0x800080


KRgbDarkRed

KRgbDarkRed

Description

Dark red. EColor16 colour index=2. TRgb value = 0x000080


KRgbDarkYellow

KRgbDarkYellow

Description

Dark yellow. EColor16 colour index=4. TRgb value = 0x008080


KRgbGray

KRgbGray

Description

Grey. EColor16 colour index=14. TRgb value = 0xAAAAAA


KRgbGreen

KRgbGreen

Description

Green. EColor16 colour index=9. TRgb value = 0x00FF00


KRgbMagenta

KRgbMagenta

Description

Magenta. EColor16 colour index=12. TRgb value = 0xFF00FF


KRgbRed

KRgbRed

Description

Red. EColor16 colour index=8. TRgb value = 0x0000FF


KRgbWhite

KRgbWhite

Description

White. EColor16 colour index=15. TRgb value = 0xFFFFFF


KRgbYellow

KRgbYellow

Description

Yellow. EColor16 colour index=10. TRgb value = 0x00FFFF