#include <fillattr2.h>
Inheritance diagram for AttrFillEffectRainbow:
Public Member Functions | |
AttrFillEffectRainbow () | |
AttrFillEffectRainbow (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
void | Render (RenderRegion *pRender) |
'Renders' a 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 BOOL | WritePreChildrenWeb (BaseCamelotFilter *pFilter) |
Writes the rainbow fill effect record to the filter. | |
virtual BOOL | WritePreChildrenNative (BaseCamelotFilter *pFilter) |
virtual void | PolyCopyNodeContents (NodeRenderable *pNodeCopy) |
Polymorphically copies the contents of this node to another. | |
Public Attributes | |
FillEffectRainbowAttribute | Value |
Private Member Functions | |
BOOL | CopyNodeContents (AttrFillEffectRainbow *NodeCopy) |
This method copies the node's contents to the node pointed to by NodeCopy. |
Definition at line 2735 of file fillattr2.h.
|
Definition at line 2740 of file fillattr2.h.
|
|
Definition at line 2741 of file fillattr2.h. 02746 : 02747 AttrFillEffect(ContextNode, Direction, Locked, Mangled, Marked, Selected) {}
|
|
This method copies the node's contents to the node pointed to by NodeCopy.
Definition at line 18920 of file fillattr.cpp. 18921 { 18922 ERROR2IF(NodeCopy == NULL, FALSE, "NULL pointer in AttrFillEffectRainbow::CopyNodeContents!"); 18923 18924 NodeAttribute::CopyNodeContents(NodeCopy); 18925 18926 // Copy contents specific to derived class here 18927 NodeCopy->Value.SimpleCopy(&Value); 18928 return TRUE; 18929 }
|
|
Reimplemented from NodeAttribute. Definition at line 2754 of file fillattr2.h. 02754 { return &Value; }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from NodeAttribute. Definition at line 18900 of file fillattr.cpp. 18901 { 18902 return (_R(IDS_FILLEFFECTRAINBOW)); 18903 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 18967 of file fillattr.cpp. 18968 { 18969 return (sizeof(AttrFillEffectRainbow)); 18970 }
|
|
Polymorphically copies the contents of this node to another.
Reimplemented from NodeRenderable. Definition at line 18944 of file fillattr.cpp. 18945 { 18946 ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); 18947 ENSURE(IS_A(pNodeCopy, AttrFillEffectRainbow), "PolyCopyNodeContents given wrong dest node type"); 18948 18949 if (IS_A(pNodeCopy, AttrFillEffectRainbow)) 18950 CopyNodeContents((AttrFillEffectRainbow*)pNodeCopy); 18951 }
|
|
'Renders' a rainbow fill effect attribute.
Reimplemented from NodeAttribute. Definition at line 18858 of file fillattr.cpp. 18859 { 18860 pRender->SetFillEffect(&Value, FALSE); 18861 }
|
|
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 18878 of file fillattr.cpp. 18879 { 18880 AttrFillEffectRainbow* NodeCopy = new AttrFillEffectRainbow(); 18881 if (NodeCopy == NULL) 18882 return NULL; 18883 18884 CopyNodeContents(NodeCopy); 18885 18886 return NodeCopy; 18887 }
|
|
Reimplemented from Node. Definition at line 19002 of file fillattr.cpp. 19003 { 19004 #ifdef DO_EXPORT 19005 return WritePreChildrenWeb(pFilter); 19006 #else 19007 return FALSE; 19008 #endif 19009 }
|
|
Writes the rainbow fill effect record to the filter. > virtual BOOL AttrFillEffectRainbow::WritePreChildrenWeb(BaseCamelotFilter* pFilter)
Reimplemented from Node. Definition at line 18987 of file fillattr.cpp. 18988 { 18989 #ifdef DO_EXPORT 18990 ERROR2IF(pFilter == NULL,FALSE,"NULL filter param"); 18991 18992 CamelotFileRecord Rec(pFilter,TAG_FILLEFFECT_RAINBOW,TAG_FILLEFFECT_RAINBOW_SIZE); 18993 return pFilter->Write(&Rec); 18994 #else 18995 return FALSE; 18996 #endif 18997 }
|
|
Definition at line 2765 of file fillattr2.h. |