Index

# XColor

XObject &rarrXColor

public
- GetBlue
- GetColor
- GetGreen
- GetRed
- SetBlue
- SetGreen
- SetRed
- ~XColor
- constructors/destructors
- XColor

#### Derrived

: public XObject
DESCRIPTION All classes use colors in RGB format.

## public

###

GetBlue

#### Definition

`

char GetBlue ( void )

`

#### Returns

char

###

GetColor

#### Definition

`

LONG GetColor ( void )

`

#### Returns

LONG

###

GetGreen

#### Definition

`

char GetGreen ( void )

`

#### Returns

char

###

GetRed

#### Definition

`

char GetRed ( void )

`

#### Returns

char

###

SetBlue

#### Definition

`

void SetBlue ( char blue )

`

#### Returns

void

###

SetGreen

#### Definition

`

void SetGreen ( char green )

`

#### Returns

void

###

SetRed

#### Definition

`

void SetRed ( char red )

`

#### Returns

void

###

~XColor

#### Definition

`

virtual ~XColor ( )

`

## constructors/destructors

###

XColor

The constructor of XColor.

#### Definition

`

XColor ( char red, char green, char blue )

XColor ( LONG col )

XColor ( char red, char grenn, char blue )

XColor ( LONG col = COL_WHITE )

`

#### Parameters

: LONG theColor The color to initialize. Valid parameters are: COL_BLACK
COL_BLUE
COL_RED
COL_PINK
COL_GREEN
COL_CYAN
COL_YELLOW
COL_BROWN
COL_DARKGRAY
COL_DARKBLUE
COL_DARKRED
COL_DARKPINK
COL_DARKGREEN
COL_DARKCYAN
COL_PALEGRAY
COL_WHITE
other: color in RGB-format, forth byte is ignored

#### Returns

-

Created by AutoDoc, (C) 1996 by Jens von Pilgrim