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
AddMaterialModifier Class Reference

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

#include <MaterialModifier.h>

Inheritance diagram for AddMaterialModifier:
MaterialModifier

Public Member Functions

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

Protected Attributes

idStr materialFile
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for adding materials.

Definition at line 158 of file MaterialModifier.h.

Constructor & Destructor Documentation

AddMaterialModifier::AddMaterialModifier ( MaterialDocManager manager,
const char *  materialName,
const char *  materialFile 
)

Constructor for AddMaterialModifier.

Definition at line 221 of file MaterialModifier.cpp.

virtual AddMaterialModifier::~AddMaterialModifier ( )
inlinevirtual

Definition at line 161 of file MaterialModifier.h.

Member Function Documentation

void AddMaterialModifier::Redo ( void  )
virtual

Performs a redo operation of an added material.

Implements MaterialModifier.

Definition at line 237 of file MaterialModifier.cpp.

void AddMaterialModifier::Undo ( void  )
virtual

Performs an undo operation of an added material.

Implements MaterialModifier.

Definition at line 229 of file MaterialModifier.cpp.

Member Data Documentation

idStr AddMaterialModifier::materialFile
protected

Definition at line 167 of file MaterialModifier.h.


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