#include <fillramp.h>
Inheritance diagram for ColRampItem:
Public Member Functions | |
ColRampItem () | |
A instance of a single colour ramp entry. | |
ColRampItem (float pos, DocColour *pCol) | |
ColRampItem (const ColRampItem &other) | |
void | SetColour (DocColour *pCol) |
used to set the colour of this ramp entry | |
DocColour | GetColour () const |
DocColour * | GetColourAddr () |
INT32 | operator== (const ColRampItem &other) const |
Check for ColRampItem equality. Do we get this as an internal function? | |
virtual BOOL | IsAColourRampItem () const |
Private Member Functions | |
CC_DECLARE_DYNCREATE (ColRampItem) | |
Private Attributes | |
DocColour | Colour |
Definition at line 171 of file fillramp.h.
|
A instance of a single colour ramp entry.
Definition at line 221 of file fillramp.cpp.
|
|
Definition at line 225 of file fillramp.cpp.
|
|
Definition at line 230 of file fillramp.cpp.
|
|
|
|
Definition at line 181 of file fillramp.h. 00181 { return Colour; }
|
|
Definition at line 182 of file fillramp.h. 00182 { return &Colour; }
|
|
Reimplemented from RampItem. Definition at line 186 of file fillramp.h. 00186 { return (TRUE); }
|
|
Check for ColRampItem equality. Do we get this as an internal function?
Definition at line 266 of file fillramp.cpp. 00267 { 00268 return ( (Position == other.GetPosition()) && 00269 (Colour == other.GetColour()) && 00270 (Selected == other.GetSelState()) 00271 ); 00272 }
|
|
used to set the colour of this ramp entry
Definition at line 247 of file fillramp.cpp. 00248 { 00249 Colour=(*pCol); 00250 }
|
|
Definition at line 189 of file fillramp.h. |