DDraceNetwork Docs
CEditorActionEditLayersGroupAndOrder Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionEditLayersGroupAndOrder (CEditor *pEditor, int GroupIndex, const std::vector< int > &LayerIndices, int NewGroupIndex, const std::vector< int > &NewLayerIndices)
 
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
 
std::vector< int > m_LayerIndices
 
int m_NewGroupIndex
 
std::vector< int > m_NewLayerIndices
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CEditorActionEditLayersGroupAndOrder()

CEditorActionEditLayersGroupAndOrder::CEditorActionEditLayersGroupAndOrder ( CEditor pEditor,
int  GroupIndex,
const std::vector< int > &  LayerIndices,
int  NewGroupIndex,
const std::vector< int > &  NewLayerIndices 
)

Member Function Documentation

◆ Redo()

void CEditorActionEditLayersGroupAndOrder::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEditLayersGroupAndOrder::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_GroupIndex

int CEditorActionEditLayersGroupAndOrder::m_GroupIndex
private

◆ m_LayerIndices

std::vector<int> CEditorActionEditLayersGroupAndOrder::m_LayerIndices
private

◆ m_NewGroupIndex

int CEditorActionEditLayersGroupAndOrder::m_NewGroupIndex
private

◆ m_NewLayerIndices

std::vector<int> CEditorActionEditLayersGroupAndOrder::m_NewLayerIndices
private

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