DDraceNetwork Docs
CEditorActionTileArt Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionTileArt (CEditor *pEditor, int PreviousImageCount, const char *pTileArtFile, std::vector< int > &vImageIndexMap)
 
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_PreviousImageCount
 
char m_aTileArtFile [IO_MAX_PATH_LENGTH]
 
std::vector< int > m_vImageIndexMap
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CEditorActionTileArt()

CEditorActionTileArt::CEditorActionTileArt ( CEditor pEditor,
int  PreviousImageCount,
const char *  pTileArtFile,
std::vector< int > &  vImageIndexMap 
)

Member Function Documentation

◆ Redo()

void CEditorActionTileArt::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionTileArt::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_aTileArtFile

char CEditorActionTileArt::m_aTileArtFile[IO_MAX_PATH_LENGTH]
private

◆ m_PreviousImageCount

int CEditorActionTileArt::m_PreviousImageCount
private

◆ m_vImageIndexMap

std::vector<int> CEditorActionTileArt::m_vImageIndexMap
private

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