DDraceNetwork Docs
CEditorActionEveloppeDelete Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionEveloppeDelete (CEditor *pEditor, int EnvelopeIndex)
 
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
 
std::shared_ptr< CEnvelopem_pEnv
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CEditorActionEveloppeDelete()

CEditorActionEveloppeDelete::CEditorActionEveloppeDelete ( CEditor pEditor,
int  EnvelopeIndex 
)

Member Function Documentation

◆ Redo()

void CEditorActionEveloppeDelete::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEveloppeDelete::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_EnvelopeIndex

int CEditorActionEveloppeDelete::m_EnvelopeIndex
private

◆ m_pEnv

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

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