DDraceNetwork Docs
|
#include <editor_actions.h>
Public Member Functions | |
CEditorActionTileChanges (CEditor *pEditor, int GroupIndex, int LayerIndex, const char *pAction, const EditorTileStateChangeHistory< STileStateChange > &Changes) | |
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 Member Functions | |
void | ComputeInfos () |
void | Apply (bool Undo) |
Private Attributes | |
EditorTileStateChangeHistory< STileStateChange > | m_Changes |
int | m_TotalChanges |
Additional Inherited Members | |
Protected Attributes inherited from CEditorActionLayerBase | |
int | m_GroupIndex |
int | m_LayerIndex |
std::shared_ptr< CLayer > | m_pLayer |
Protected Attributes inherited from IEditorAction | |
CEditor * | m_pEditor |
char | m_aDisplayText [256] |
CEditorActionTileChanges::CEditorActionTileChanges | ( | CEditor * | pEditor, |
int | GroupIndex, | ||
int | LayerIndex, | ||
const char * | pAction, | ||
const EditorTileStateChangeHistory< STileStateChange > & | Changes | ||
) |
|
private |
|
private |
|
overridevirtual |
Reimplemented from CEditorActionLayerBase.
|
overridevirtual |
Reimplemented from CEditorActionLayerBase.
|
private |
|
private |