ExportColour Class Reference

Represents a colour object that has been saved out into the file already. This enables any other references to the colour to be output as we have a mechanism to remember that a colour definition has already been saved into the file and the record number it was saved under. More...

#include <expcol.h>

Inheritance diagram for ExportColour:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 ExportColour (IndexedColour *pNewCol, INT32 NewRecordNumber)
 Create a new export colour list item from the given indexed colour.
 ExportColour (PColourRGBT *pNewRGBCol, INT32 NewRecordNumber)
 Create a new export colour list item from the given indexed colour.

Public Attributes

IndexedColourpCol
PColourRGBT SimpleRGBColour
INT32 RecordNumber

Detailed Description

Represents a colour object that has been saved out into the file already. This enables any other references to the colour to be output as we have a mechanism to remember that a colour definition has already been saved into the file and the record number it was saved under.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/5/96
See also:
ColourListComponent;

Definition at line 125 of file expcol.h.


Constructor & Destructor Documentation

ExportColour::ExportColour IndexedColour pNewCol,
INT32  NewRecordNumber
 

Create a new export colour list item from the given indexed colour.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/5/96
Parameters:
pNewCol - the colour to put in the list. [INPUTS] RecordNumber - the number of the record that this colour definition has been saved in.
See also:
ExportColourList;

Definition at line 132 of file expcol.cpp.

00133 {
00134     // Initialise our class variables to these specified values.
00135     pCol = pNewCol;
00136     RecordNumber = NewRecordNumber;
00137 }

ExportColour::ExportColour PColourRGBT pNewRGBCol,
INT32  NewRecordNumber
 

Create a new export colour list item from the given indexed colour.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
3/6/96
Parameters:
pNewRGBCol - the simple RGB colour to put in the list. [INPUTS] RecordNumber - the number of the record that this colour definition has been saved in.
See also:
ExportColourList;

Definition at line 153 of file expcol.cpp.

00154 {
00155     // Initialise our class variables to these specified values.
00156     // Indexed colour is NULL, which means use the simple colour in searching
00157     pCol = NULL;
00158     SimpleRGBColour = *pNewRGBCol;
00159     RecordNumber = NewRecordNumber;
00160 }


Member Data Documentation

IndexedColour* ExportColour::pCol
 

Definition at line 137 of file expcol.h.

INT32 ExportColour::RecordNumber
 

Definition at line 145 of file expcol.h.

PColourRGBT ExportColour::SimpleRGBColour
 

Definition at line 141 of file expcol.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:54:05 2007 for Camelot by  doxygen 1.4.4