#include <fillattr2.h>
Inheritance diagram for AttrFillEffectAltRainbow:
Public Member Functions | |
AttrFillEffectAltRainbow () | |
AttrFillEffectAltRainbow (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
void | Render (RenderRegion *pRender) |
'Renders' an alternate rainbow fill effect attribute. | |
Node * | SimpleCopy () |
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes. | |
virtual UINT32 | GetAttrNameID (void) |
Returns a string resource ID describing the attribute. | |
virtual UINT32 | GetNodeSize () const |
For finding the size of the node. | |
virtual AttributeValue * | GetAttributeValue () |
virtual void | PolyCopyNodeContents (NodeRenderable *pNodeCopy) |
Polymorphically copies the contents of this node to another. | |
virtual BOOL | WritePreChildrenWeb (BaseCamelotFilter *pFilter) |
Writes the alt rainbow fill effect record to the filter. | |
virtual BOOL | WritePreChildrenNative (BaseCamelotFilter *pFilter) |
Public Attributes | |
FillEffectAltRainbowAttribute | Value |
Private Member Functions | |
BOOL | CopyNodeContents (AttrFillEffectAltRainbow *NodeCopy) |
This method copies the node's contents to the node pointed to by NodeCopy. |
Definition at line 2779 of file fillattr2.h.
|
Definition at line 2784 of file fillattr2.h.
|
|
Definition at line 2785 of file fillattr2.h. 02790 : 02791 AttrFillEffect(ContextNode, Direction, Locked, Mangled, Marked, Selected) {}
|
|
This method copies the node's contents to the node pointed to by NodeCopy.
Definition at line 19083 of file fillattr.cpp. 19084 { 19085 ERROR2IF(NodeCopy == NULL, FALSE, "NULL pointer in AttrFillEffectAltRainbow::CopyNodeContents!"); 19086 19087 NodeAttribute::CopyNodeContents(NodeCopy); 19088 19089 // Copy contents specific to derived class here 19090 NodeCopy->Value.SimpleCopy(&Value); 19091 return TRUE; 19092 }
|
|
Reimplemented from NodeAttribute. Definition at line 2798 of file fillattr2.h. 02798 { return &Value; }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from NodeAttribute. Definition at line 19063 of file fillattr.cpp. 19064 { 19065 return (_R(IDS_FILLEFFECTALTRAINBOW)); 19066 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 19130 of file fillattr.cpp. 19131 { 19132 return (sizeof(AttrFillEffectAltRainbow)); 19133 }
|
|
Polymorphically copies the contents of this node to another.
Reimplemented from NodeRenderable. Definition at line 19107 of file fillattr.cpp. 19108 { 19109 ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); 19110 ENSURE(IS_A(pNodeCopy, AttrFillEffectAltRainbow), "PolyCopyNodeContents given wrong dest node type"); 19111 19112 if (IS_A(pNodeCopy, AttrFillEffectAltRainbow)) 19113 CopyNodeContents((AttrFillEffectAltRainbow*)pNodeCopy); 19114 }
|
|
'Renders' an alternate rainbow fill effect attribute.
Reimplemented from NodeAttribute. Definition at line 19021 of file fillattr.cpp. 19022 { 19023 pRender->SetFillEffect(&Value, FALSE); 19024 }
|
|
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes.
Reimplemented from NodeAttribute. Definition at line 19041 of file fillattr.cpp. 19042 { 19043 AttrFillEffectAltRainbow* NodeCopy = new AttrFillEffectAltRainbow(); 19044 if (NodeCopy == NULL) 19045 return NULL; 19046 19047 CopyNodeContents(NodeCopy); 19048 19049 return NodeCopy; 19050 }
|
|
Reimplemented from Node. Definition at line 19165 of file fillattr.cpp. 19166 { 19167 #ifdef DO_EXPORT 19168 return WritePreChildrenWeb(pFilter); 19169 #else 19170 return FALSE; 19171 #endif 19172 }
|
|
Writes the alt rainbow fill effect record to the filter. > virtual BOOL AttrFillEffectAltRainbow::WritePreChildrenWeb(BaseCamelotFilter* pFilter)
Reimplemented from Node. Definition at line 19150 of file fillattr.cpp. 19151 { 19152 #ifdef DO_EXPORT 19153 ERROR2IF(pFilter == NULL,FALSE,"NULL filter param"); 19154 19155 CamelotFileRecord Rec(pFilter,TAG_FILLEFFECT_ALTRAINBOW,TAG_FILLEFFECT_ALTRAINBOW_SIZE); 19156 return pFilter->Write(&Rec); 19157 #else 19158 return FALSE; 19159 #endif 19160 }
|
|
Definition at line 2809 of file fillattr2.h. |