doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
RenameMaterialModifier Class Reference

Undo/Redo operation for renaming materials. More...

#include <MaterialModifier.h>

Inheritance diagram for RenameMaterialModifier:
MaterialModifier

Public Member Functions

 RenameMaterialModifier (MaterialDocManager *manager, const char *materialName, const char *oldName)
 Constructor for RenameMaterialModifier. More...
 
virtual ~RenameMaterialModifier ()
 
virtual void Undo ()
 Performs an undo operation of a renamed material. More...
 
virtual void Redo ()
 Performs a redo operation of a renamed material. More...
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

idStr oldName
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for renaming materials.

Definition at line 204 of file MaterialModifier.h.

Constructor & Destructor Documentation

RenameMaterialModifier::RenameMaterialModifier ( MaterialDocManager manager,
const char *  materialName,
const char *  oldName 
)

Constructor for RenameMaterialModifier.

Definition at line 314 of file MaterialModifier.cpp.

virtual RenameMaterialModifier::~RenameMaterialModifier ( )
inlinevirtual

Definition at line 207 of file MaterialModifier.h.

Member Function Documentation

void RenameMaterialModifier::Redo ( void  )
virtual

Performs a redo operation of a renamed material.

Implements MaterialModifier.

Definition at line 331 of file MaterialModifier.cpp.

void RenameMaterialModifier::Undo ( void  )
virtual

Performs an undo operation of a renamed material.

Implements MaterialModifier.

Definition at line 322 of file MaterialModifier.cpp.

Member Data Documentation

idStr RenameMaterialModifier::oldName
protected

Definition at line 213 of file MaterialModifier.h.


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