DDraceNetwork Docs
CEditorActionEditGroupProp Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionEditGroupProp (CEditor *pEditor, int GroupIndex, EGroupProp Prop, 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 Member Functions

void Apply (int Value)
 

Private Attributes

int m_GroupIndex
 
EGroupProp m_Prop
 
int m_Previous
 
int m_Current
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CEditorActionEditGroupProp()

CEditorActionEditGroupProp::CEditorActionEditGroupProp ( CEditor pEditor,
int  GroupIndex,
EGroupProp  Prop,
int  Previous,
int  Current 
)

Member Function Documentation

◆ Apply()

void CEditorActionEditGroupProp::Apply ( int  Value)
private

◆ Redo()

void CEditorActionEditGroupProp::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEditGroupProp::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Current

int CEditorActionEditGroupProp::m_Current
private

◆ m_GroupIndex

int CEditorActionEditGroupProp::m_GroupIndex
private

◆ m_Previous

int CEditorActionEditGroupProp::m_Previous
private

◆ m_Prop

EGroupProp CEditorActionEditGroupProp::m_Prop
private

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