#include <BasicGraphics.h>
Public Member Functions | |
COLORLIST () | |
~COLORLIST () | |
COLOR | GetColor (const STRING &) |
COLOR | GetColor (REAL, REAL, REAL) |
COLOR | AddColorDef (const STRING &, REAL, REAL, REAL) |
INTEGER | HowMany () |
void | FirstColor () |
void | NextColor () |
void | NthColor (INTEGER) |
BOOLEAN | EndOfList () |
BOOLEAN | RGBDefined () |
VECTOR | ActualRGB () |
STRING | ActualName () |
COLOR | ReadColor (SCANNER &) |
void | WriteColor (BACKUP &, const STRING &, COLOR) |
Private Member Functions | |
COLOR | FindEntry (COLORENTRY *) |
Private Attributes | |
COLORENTRY * | First |
COLORENTRY * | Actual |
INTEGER | Count |
Definition at line 45 of file BasicGraphics.h.
COLORLIST::COLORLIST | ( | ) |
COLORLIST::~COLORLIST | ( | ) |
STRING COLORLIST::ActualName | ( | ) |
Definition at line 204 of file BasicGraphics.cpp.
References Actual, and COLORENTRY::Name.
Referenced by WriteColor().
VECTOR COLORLIST::ActualRGB | ( | ) |
Definition at line 196 of file BasicGraphics.cpp.
References Actual, and COLORENTRY::RGB.
Referenced by MFCGRAPH::SetColor(), and WriteColor().
Definition at line 145 of file BasicGraphics.cpp.
References FindEntry().
Referenced by SIM3DWorld::SIM3DWorld().
BOOLEAN COLORLIST::EndOfList | ( | ) |
COLOR COLORLIST::FindEntry | ( | COLORENTRY * | ) | [private] |
Definition at line 105 of file BasicGraphics.cpp.
References Count, First, COLORENTRY::IsDefinedBy(), and COLORENTRY::Next.
Referenced by AddColorDef(), and GetColor().
void COLORLIST::FirstColor | ( | ) |
Definition at line 133 of file BasicGraphics.cpp.
References FindEntry().
Referenced by ReadColor().
INTEGER COLORLIST::HowMany | ( | ) |
void COLORLIST::NextColor | ( | ) |
void COLORLIST::NthColor | ( | INTEGER | ) |
Definition at line 173 of file BasicGraphics.cpp.
References Actual, First, and COLORENTRY::Next.
Referenced by MFCGRAPH::SetColor(), and WriteColor().
Definition at line 215 of file BasicGraphics.cpp.
References GetColor(), GetCorrectVector(), SCANNER::GetLastString(), SCANNER::NextSymbol(), sString, SCANNER::Symbol, VECTOR::x, VECTOR::y, and VECTOR::z.
Referenced by SIM3DWorld::ReadAttr(), and SIM3DElement::ReadAttr().
BOOLEAN COLORLIST::RGBDefined | ( | ) |
Definition at line 191 of file BasicGraphics.cpp.
References Actual, and COLORENTRY::RGB.
Referenced by MFCGRAPH::SetColor(), and WriteColor().
Definition at line 234 of file BasicGraphics.cpp.
References ActualName(), ActualRGB(), EndOfList(), BACKUP::ListNext(), NthColor(), RGBDefined(), BACKUP::WriteIdent(), BACKUP::WriteString(), and BACKUP::WriteVector().
Referenced by SIM3DWorld::WriteAttrs(), and SIM3DElement::WriteAttrs().
COLORENTRY* COLORLIST::Actual [private] |
Definition at line 48 of file BasicGraphics.h.
Referenced by ActualName(), ActualRGB(), COLORLIST(), EndOfList(), FirstColor(), NextColor(), NthColor(), and RGBDefined().
INTEGER COLORLIST::Count [private] |
COLORENTRY* COLORLIST::First [private] |
Definition at line 47 of file BasicGraphics.h.
Referenced by COLORLIST(), FindEntry(), FirstColor(), HowMany(), NthColor(), and ~COLORLIST().