DDraceNetwork Docs
IEditorAction Class Referenceabstract

#include <editor_action.h>

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

Public Member Functions

 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Protected Attributes

CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ IEditorAction() [1/2]

IEditorAction::IEditorAction ( CEditor pEditor)
inline

◆ IEditorAction() [2/2]

IEditorAction::IEditorAction ( )
default

◆ ~IEditorAction()

virtual IEditorAction::~IEditorAction ( )
virtualdefault

Member Function Documentation

◆ DisplayText()

const char * IEditorAction::DisplayText ( ) const
inline

◆ IsEmpty()

virtual bool IEditorAction::IsEmpty ( )
inlinevirtual

Reimplemented in CEditorBrushDrawAction.

◆ Redo()

virtual void IEditorAction::Redo ( )
pure virtual

Implemented in CEditorActionLayerBase, CEditorBrushDrawAction, CEditorActionQuadPlace, CEditorActionSoundPlace, CEditorActionDeleteQuad, CEditorActionEditQuadPoint, CEditorActionEditQuadProp, CEditorActionEditQuadPointProp, CEditorActionBulk, CEditorActionTileChanges, CEditorActionAddLayer, CEditorActionDeleteLayer, CEditorActionGroup, CEditorActionEditGroupProp, CEditorActionEditLayerPropBase< E >, CEditorActionEditLayerPropBase< ECircleShapeProp >, CEditorActionEditLayerPropBase< ELayerProp >, CEditorActionEditLayerPropBase< ELayerQuadsProp >, CEditorActionEditLayerPropBase< ELayerSoundsProp >, CEditorActionEditLayerPropBase< ETilesProp >, CEditorActionEditLayerPropBase< ERectangleShapeProp >, CEditorActionEditLayerPropBase< ESoundProp >, CEditorActionEditLayerProp, CEditorActionEditLayerTilesProp, CEditorActionEditLayerQuadsProp, CEditorActionEditLayersGroupAndOrder, CEditorActionAppendMap, CEditorActionTileArt, CEditorCommandAction, CEditorActionEnvelopeAdd, CEditorActionEveloppeDelete, CEditorActionEnvelopeEdit, CEditorActionEnvelopeEditPoint, CEditorActionAddEnvelopePoint, CEditorActionDeleteEnvelopePoint, CEditorActionEditEnvelopePointValue, CEditorActionResetEnvelopePointTangent, CEditorActionEditLayerSoundsProp, CEditorActionDeleteSoundSource, CEditorActionEditSoundSource, CEditorActionEditSoundSourceProp, CEditorActionEditRectSoundSourceShapeProp, CEditorActionEditCircleSoundSourceShapeProp, CEditorActionNewEmptySound, CEditorActionNewEmptyQuad, CEditorActionNewQuad, and CEditorActionMoveSoundSource.

◆ Undo()

virtual void IEditorAction::Undo ( )
pure virtual

Implemented in CEditorActionLayerBase, CEditorBrushDrawAction, CEditorActionQuadPlace, CEditorActionSoundPlace, CEditorActionDeleteQuad, CEditorActionEditQuadPoint, CEditorActionEditQuadProp, CEditorActionEditQuadPointProp, CEditorActionBulk, CEditorActionTileChanges, CEditorActionAddLayer, CEditorActionDeleteLayer, CEditorActionGroup, CEditorActionEditGroupProp, CEditorActionEditLayerPropBase< E >, CEditorActionEditLayerPropBase< ECircleShapeProp >, CEditorActionEditLayerPropBase< ELayerProp >, CEditorActionEditLayerPropBase< ELayerQuadsProp >, CEditorActionEditLayerPropBase< ELayerSoundsProp >, CEditorActionEditLayerPropBase< ETilesProp >, CEditorActionEditLayerPropBase< ERectangleShapeProp >, CEditorActionEditLayerPropBase< ESoundProp >, CEditorActionEditLayerProp, CEditorActionEditLayerTilesProp, CEditorActionEditLayerQuadsProp, CEditorActionEditLayersGroupAndOrder, CEditorActionAppendMap, CEditorActionTileArt, CEditorCommandAction, CEditorActionEnvelopeAdd, CEditorActionEveloppeDelete, CEditorActionEnvelopeEdit, CEditorActionEnvelopeEditPoint, CEditorActionAddEnvelopePoint, CEditorActionDeleteEnvelopePoint, CEditorActionEditEnvelopePointValue, CEditorActionResetEnvelopePointTangent, CEditorActionEditLayerSoundsProp, CEditorActionDeleteSoundSource, CEditorActionEditSoundSource, CEditorActionEditSoundSourceProp, CEditorActionEditRectSoundSourceShapeProp, CEditorActionEditCircleSoundSourceShapeProp, CEditorActionNewEmptySound, CEditorActionNewEmptyQuad, CEditorActionNewQuad, and CEditorActionMoveSoundSource.

Member Data Documentation

◆ m_aDisplayText

char IEditorAction::m_aDisplayText[256]
protected

◆ m_pEditor

CEditor* IEditorAction::m_pEditor
protected

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