#include <fillramp.h>
Inheritance diagram for TranspRampItem:
Public Member Functions | |
TranspRampItem () | |
Various constructors for the transparency ramp item class. | |
TranspRampItem (float pos, UINT32 transp) | |
TranspRampItem (const TranspRampItem &other) | |
void | SetTransparency (UINT32 transp) |
used to set the colour of this ramp entry | |
UINT32 | GetTransparency () const |
UINT32 * | GetTranspAddr () |
INT32 | operator== (const TranspRampItem &other) const |
Check for ColRampItem equality. Do we get this as an internal function? | |
virtual BOOL | IsATranspRampItem () const |
Private Member Functions | |
CC_DECLARE_DYNCREATE (TranspRampItem) | |
Private Attributes | |
UINT32 | Transparency |
Definition at line 204 of file fillramp.h.
|
Various constructors for the transparency ramp item class.
Definition at line 286 of file fillramp.cpp.
|
|
Definition at line 290 of file fillramp.cpp. 00290 : RampItem(pos) 00291 { 00292 Transparency=transp; 00293 }
|
|
Definition at line 295 of file fillramp.cpp. 00295 : RampItem(other) 00296 { 00297 Transparency=other.GetTransparency(); 00298 }
|
|
|
|
Definition at line 215 of file fillramp.h. 00215 { return &Transparency; }
|
|
Definition at line 214 of file fillramp.h. 00214 { return Transparency; }
|
|
Reimplemented from RampItem. Definition at line 219 of file fillramp.h. 00219 { return (TRUE); }
|
|
Check for ColRampItem equality. Do we get this as an internal function?
Definition at line 331 of file fillramp.cpp. 00332 { 00333 return ( (Position == other.GetPosition()) && 00334 (Transparency == other.GetTransparency()) && 00335 (Selected == other.GetSelState()) 00336 ); 00337 }
|
|
used to set the colour of this ramp entry
Definition at line 312 of file fillramp.cpp. 00313 { 00314 Transparency=transp; 00315 }
|
|
Definition at line 222 of file fillramp.h. |