#include <expcol.h>
Inheritance diagram for ExportColourList:
Public Member Functions | |
~ExportColourList () | |
Destroy the list of exported colours. | |
ExportColour * | AddColour (IndexedColour *pCol, INT32 RecordNumber) |
Add a new colour to the list of exported colours. | |
ExportColour * | AddColour (PColourRGBT *pNewRGBCol, INT32 RecordNumber) |
Add a new colour to the list of exported colours. |
Definition at line 160 of file expcol.h.
|
Destroy the list of exported colours.
Definition at line 176 of file expcol.cpp. 00177 { 00178 // Destroy the list of colours which we may have 00179 //ExportColour* pExportedColour = (ExportColour *)GetHead(); 00180 //while (pExportedColour) 00181 //{ 00182 // delete pExportedColour; 00183 00184 // Try the next colour in the list 00185 // pExportedColour = (ExportColour *)Colours.GetNext(pExportedColour); 00186 // } 00187 00188 DeleteAll(); 00189 }
|
|
Add a new colour to the list of exported colours.
Definition at line 238 of file expcol.cpp. 00239 { 00240 ExportColour *pNewCol = new ExportColour(pNewRGBCol, NewRecordNumber); 00241 00242 // Check for out of memory 00243 if (pNewCol == NULL) 00244 return NULL; 00245 00246 // Add to the list and return success 00247 AddTail(pNewCol); 00248 return pNewCol; 00249 }
|
|
Add a new colour to the list of exported colours.
Definition at line 208 of file expcol.cpp. 00209 { 00210 ExportColour *pNewCol = new ExportColour(pCol, NewRecordNumber); 00211 00212 // Check for out of memory 00213 if (pNewCol == NULL) 00214 return NULL; 00215 00216 // Add to the list and return success 00217 AddTail(pNewCol); 00218 return pNewCol; 00219 }
|