DDraceNetwork Docs
CEditorActionGroup Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionGroup (CEditor *pEditor, int GroupIndex, bool Delete)
 
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_GroupIndex
 
bool m_Delete
 
std::shared_ptr< CLayerGroupm_pGroup
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CEditorActionGroup()

CEditorActionGroup::CEditorActionGroup ( CEditor pEditor,
int  GroupIndex,
bool  Delete 
)

Member Function Documentation

◆ Redo()

void CEditorActionGroup::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionGroup::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Delete

bool CEditorActionGroup::m_Delete
private

◆ m_GroupIndex

int CEditorActionGroup::m_GroupIndex
private

◆ m_pGroup

std::shared_ptr<CLayerGroup> CEditorActionGroup::m_pGroup
private

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