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

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

#include <MaterialModifier.h>

Inheritance diagram for MoveMaterialModifier:
MaterialModifier

Public Member Functions

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

Protected Attributes

idStr materialFile
 
idStr copyMaterial
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for moving materials.

Definition at line 188 of file MaterialModifier.h.

Constructor & Destructor Documentation

MoveMaterialModifier::MoveMaterialModifier ( MaterialDocManager manager,
const char *  materialName,
const char *  materialFile,
const char *  copyMaterial 
)

Constructor for MoveMaterialModifier.

Definition at line 277 of file MaterialModifier.cpp.

virtual MoveMaterialModifier::~MoveMaterialModifier ( )
inlinevirtual

Definition at line 191 of file MaterialModifier.h.

Member Function Documentation

void MoveMaterialModifier::Redo ( void  )
virtual

Performs a redo operation of a moved material.

Implements MaterialModifier.

Definition at line 299 of file MaterialModifier.cpp.

void MoveMaterialModifier::Undo ( void  )
virtual

Performs an undo operation of a moved material.

Implements MaterialModifier.

Definition at line 286 of file MaterialModifier.cpp.

Member Data Documentation

idStr MoveMaterialModifier::copyMaterial
protected

Definition at line 198 of file MaterialModifier.h.

idStr MoveMaterialModifier::materialFile
protected

Definition at line 197 of file MaterialModifier.h.


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