DDraceNetwork Docs
CEditorActionNewEmptySound Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionNewEmptySound (CEditor *pEditor, int GroupIndex, int LayerIndex, int x, int y)
 
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 Attributes

int m_X
 
int m_Y
 

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

◆ CEditorActionNewEmptySound()

CEditorActionNewEmptySound::CEditorActionNewEmptySound ( CEditor pEditor,
int  GroupIndex,
int  LayerIndex,
int  x,
int  y 
)

Member Function Documentation

◆ Redo()

void CEditorActionNewEmptySound::Redo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

◆ Undo()

void CEditorActionNewEmptySound::Undo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

Member Data Documentation

◆ m_X

int CEditorActionNewEmptySound::m_X
private

◆ m_Y

int CEditorActionNewEmptySound::m_Y
private

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