#include <fillattr2.h>
Inheritance diagram for AttrFillEffectFade:
Public Member Functions | |
AttrFillEffectFade () | |
AttrFillEffectFade (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
void | Render (RenderRegion *pRender) |
'Renders' a RGB fade 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 fade 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 | |
FillEffectFadeAttribute | Value |
Private Member Functions | |
BOOL | CopyNodeContents (AttrFillEffectFade *NodeCopy) |
This method copies the node's contents to the node pointed to by NodeCopy. |
Definition at line 2690 of file fillattr2.h.
|
Definition at line 2695 of file fillattr2.h.
|
|
Definition at line 2696 of file fillattr2.h. 02701 : 02702 AttrFillEffect(ContextNode, Direction, Locked, Mangled, Marked, Selected) {}
|
|
This method copies the node's contents to the node pointed to by NodeCopy.
Definition at line 18758 of file fillattr.cpp. 18759 { 18760 ERROR2IF(NodeCopy == NULL, FALSE, "NULL pointer in AttrFillEffectFade::CopyNodeContents!"); 18761 18762 NodeAttribute::CopyNodeContents(NodeCopy); 18763 18764 // Copy contents specific to derived class here 18765 NodeCopy->Value.SimpleCopy(&Value); 18766 return TRUE; 18767 }
|
|
Reimplemented from NodeAttribute. Definition at line 2710 of file fillattr2.h. 02710 { return &Value; }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from NodeAttribute. Definition at line 18738 of file fillattr.cpp. 18739 { 18740 return (_R(IDS_FILLEFFECTFADE)); 18741 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 18805 of file fillattr.cpp. 18806 { 18807 return (sizeof(AttrFillEffectFade)); 18808 }
|
|
Polymorphically copies the contents of this node to another.
Reimplemented from NodeRenderable. Definition at line 18782 of file fillattr.cpp. 18783 { 18784 ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); 18785 ENSURE(IS_A(pNodeCopy, AttrFillEffectFade), "PolyCopyNodeContents given wrong dest node type"); 18786 18787 if (IS_A(pNodeCopy, AttrFillEffectFade)) 18788 CopyNodeContents((AttrFillEffectFade*)pNodeCopy); 18789 }
|
|
'Renders' a RGB fade fill effect attribute.
Reimplemented from NodeAttribute. Definition at line 18695 of file fillattr.cpp. 18696 { 18697 pRender->SetFillEffect(&Value, FALSE); 18698 }
|
|
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 18716 of file fillattr.cpp. 18717 { 18718 AttrFillEffectFade* NodeCopy = new AttrFillEffectFade(); 18719 if (NodeCopy == NULL) 18720 return NULL; 18721 18722 CopyNodeContents(NodeCopy); 18723 18724 return NodeCopy; 18725 }
|
|
Reimplemented from Node. Definition at line 18839 of file fillattr.cpp. 18840 { 18841 #ifdef DO_EXPORT 18842 return WritePreChildrenWeb(pFilter); 18843 #else 18844 return FALSE; 18845 #endif 18846 }
|
|
Writes the fade fill effect record to the filter. > virtual BOOL AttrFillEffectFade::WritePreChildrenWeb(BaseCamelotFilter* pFilter)
Reimplemented from Node. Definition at line 18824 of file fillattr.cpp. 18825 { 18826 #ifdef DO_EXPORT 18827 ERROR2IF(pFilter == NULL,FALSE,"NULL filter param"); 18828 18829 CamelotFileRecord Rec(pFilter,TAG_FILLEFFECT_FADE,TAG_FILLEFFECT_FADE_SIZE); 18830 return pFilter->Write(&Rec); 18831 #else 18832 return FALSE; 18833 #endif 18834 }
|
|
Definition at line 2721 of file fillattr2.h. |