DDraceNetwork Docs
CEditorActionEditQuadPointProp Class Reference

#include <editor_actions.h>

Inheritance diagram for CEditorActionEditQuadPointProp:
[legend]
Collaboration diagram for CEditorActionEditQuadPointProp:
[legend]

Public Member Functions

 CEditorActionEditQuadPointProp (CEditor *pEditor, int GroupIndex, int LayerIndex, int QuadIndex, int PointIndex, EQuadPointProp Prop, int Previous, int Current)
 
void Undo () override
 
void Redo () override
 
- Public Member Functions inherited from CEditorActionLayerBase
 CEditorActionLayerBase (CEditor *pEditor, int GroupIndex, int LayerIndex)
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Member Functions

void Apply (int Value)
 

Private Attributes

int m_QuadIndex
 
int m_PointIndex
 
EQuadPointProp m_Prop
 
int m_Previous
 
int m_Current
 

Additional Inherited Members

- Protected Attributes inherited from CEditorActionLayerBase
int m_GroupIndex
 
int m_LayerIndex
 
std::shared_ptr< CLayerm_pLayer
 
- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ CEditorActionEditQuadPointProp()

CEditorActionEditQuadPointProp::CEditorActionEditQuadPointProp ( CEditor pEditor,
int  GroupIndex,
int  LayerIndex,
int  QuadIndex,
int  PointIndex,
EQuadPointProp  Prop,
int  Previous,
int  Current 
)

Member Function Documentation

◆ Apply()

void CEditorActionEditQuadPointProp::Apply ( int  Value)
private

◆ Redo()

void CEditorActionEditQuadPointProp::Redo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

◆ Undo()

void CEditorActionEditQuadPointProp::Undo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

Member Data Documentation

◆ m_Current

int CEditorActionEditQuadPointProp::m_Current
private

◆ m_PointIndex

int CEditorActionEditQuadPointProp::m_PointIndex
private

◆ m_Previous

int CEditorActionEditQuadPointProp::m_Previous
private

◆ m_Prop

EQuadPointProp CEditorActionEditQuadPointProp::m_Prop
private

◆ m_QuadIndex

int CEditorActionEditQuadPointProp::m_QuadIndex
private

The documentation for this class was generated from the following files: