DDraceNetwork Docs
CEditorActionEnvelopeEdit Class Reference

#include <editor_actions.h>

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

Public Types

enum class  EEditType { SYNC , ORDER }
 

Public Member Functions

 CEditorActionEnvelopeEdit (CEditor *pEditor, int EnvelopeIndex, EEditType EditType, int Previous, int Current)
 
void Undo () override
 
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 Attributes

int m_EnvelopeIndex
 
EEditType m_EditType
 
int m_Previous
 
int m_Current
 
std::shared_ptr< CEnvelopem_pEnv
 

Additional Inherited Members

- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Member Enumeration Documentation

◆ EEditType

Enumerator
SYNC 
ORDER 

Constructor & Destructor Documentation

◆ CEditorActionEnvelopeEdit()

CEditorActionEnvelopeEdit::CEditorActionEnvelopeEdit ( CEditor pEditor,
int  EnvelopeIndex,
EEditType  EditType,
int  Previous,
int  Current 
)

Member Function Documentation

◆ Redo()

void CEditorActionEnvelopeEdit::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEnvelopeEdit::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Current

int CEditorActionEnvelopeEdit::m_Current
private

◆ m_EditType

EEditType CEditorActionEnvelopeEdit::m_EditType
private

◆ m_EnvelopeIndex

int CEditorActionEnvelopeEdit::m_EnvelopeIndex
private

◆ m_pEnv

std::shared_ptr<CEnvelope> CEditorActionEnvelopeEdit::m_pEnv
private

◆ m_Previous

int CEditorActionEnvelopeEdit::m_Previous
private

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