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

Undo/Redo operation for stage moves. More...

#include <MaterialModifier.h>

Inheritance diagram for StageMoveModifier:
MaterialModifier

Public Member Functions

 StageMoveModifier (MaterialDocManager *manager, const char *materialName, int from, int to)
 Constructor for StageMoveModifier. More...
 
virtual ~StageMoveModifier ()
 
virtual void Undo ()
 Performs an undo operation of a stage move. More...
 
virtual void Redo ()
 Performs a redo operation of a moved stage. More...
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

int from
 
int to
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for stage moves.

Definition at line 108 of file MaterialModifier.h.

Constructor & Destructor Documentation

StageMoveModifier::StageMoveModifier ( MaterialDocManager manager,
const char *  materialName,
int  from,
int  to 
)

Constructor for StageMoveModifier.

Definition at line 129 of file MaterialModifier.cpp.

virtual StageMoveModifier::~StageMoveModifier ( )
inlinevirtual

Definition at line 112 of file MaterialModifier.h.

Member Function Documentation

void StageMoveModifier::Redo ( void  )
virtual

Performs a redo operation of a moved stage.

Implements MaterialModifier.

Definition at line 146 of file MaterialModifier.cpp.

void StageMoveModifier::Undo ( void  )
virtual

Performs an undo operation of a stage move.

Implements MaterialModifier.

Definition at line 138 of file MaterialModifier.cpp.

Member Data Documentation

int StageMoveModifier::from
protected

Definition at line 118 of file MaterialModifier.h.

int StageMoveModifier::to
protected

Definition at line 119 of file MaterialModifier.h.


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