DDNet documentation
Loading...
Searching...
No Matches
IEditorAction Class Referenceabstract

#include <editor_action.h>

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

Public Member Functions

 IEditorAction (CEditorMap *pMap)
virtual void Undo ()=0
virtual void Redo ()=0
virtual bool IsEmpty ()
const char * DisplayText () const
Public Member Functions inherited from CMapObject
 CMapObject (CEditorMap *pMap)
 CMapObject (const CMapObject &Other)
virtual ~CMapObject ()=default
virtual void OnAttach (CEditorMap *pMap)
const CEditor * Editor () const
CEditor * Editor ()
const CEditorMap * Map () const
CEditorMap * Map ()
const IGraphics * Graphics () const
IGraphics * Graphics ()
const ISound * Sound () const
ISound * Sound ()
const IStorage * Storage () const
IStorage * Storage ()
const ITextRender * TextRender () const
ITextRender * TextRender ()

Protected Attributes

char m_aDisplayText [256]

Additional Inherited Members

Public Attributes inherited from CMapObject
float m_aLayerOffset [2]
bool m_UseClipping
float m_aaClipArea [2][2]
float m_aSpeed [2]
float m_aaScreenOffset [2][2]
float m_aaBaseArea [2][2]
float m_aaExtendedArea [2][2]
Static Public Attributes inherited from CMapObject
static constexpr float ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f}

Constructor & Destructor Documentation

◆ IEditorAction()

IEditorAction::IEditorAction ( CEditorMap * pMap)
inline

Member Function Documentation

◆ DisplayText()

const char * IEditorAction::DisplayText ( ) const
inline

◆ IsEmpty()

virtual bool IEditorAction::IsEmpty ( )
inlinevirtual

Reimplemented in CEditorBrushDrawAction.

◆ Redo()

◆ Undo()

Member Data Documentation

◆ m_aDisplayText

char IEditorAction::m_aDisplayText[256]
protected

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