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

Undo/Redo operation for boolean attribute changes. More...

#include <MaterialModifier.h>

Inheritance diagram for AttributeMaterialModifierBool:
AttributeMaterialModifier MaterialModifier

Public Member Functions

 AttributeMaterialModifierBool (MaterialDocManager *manager, const char *materialName, int stage, const char *key, bool value, bool oldValue)
 Constructor for AttributeMaterialModifierBool. More...
 
virtual ~AttributeMaterialModifierBool ()
 
virtual void Undo ()
 Performs an undo operation of a boolean attribute change. More...
 
virtual void Redo ()
 Performs a redo operation of a boolean attribute change. More...
 
- Public Member Functions inherited from AttributeMaterialModifier
 AttributeMaterialModifier (MaterialDocManager *manager, const char *materialName, int stage, const char *key)
 Constructor for AttributeMaterialModifier. More...
 
virtual ~AttributeMaterialModifier ()
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

bool value
 
bool oldValue
 
- Protected Attributes inherited from AttributeMaterialModifier
int stage
 
idStr key
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for boolean attribute changes.

Definition at line 90 of file MaterialModifier.h.

Constructor & Destructor Documentation

AttributeMaterialModifierBool::AttributeMaterialModifierBool ( MaterialDocManager manager,
const char *  materialName,
int  stage,
const char *  key,
bool  value,
bool  oldValue 
)

Constructor for AttributeMaterialModifierBool.

Definition at line 99 of file MaterialModifier.cpp.

virtual AttributeMaterialModifierBool::~AttributeMaterialModifierBool ( )
inlinevirtual

Definition at line 94 of file MaterialModifier.h.

Member Function Documentation

void AttributeMaterialModifierBool::Redo ( void  )
virtual

Performs a redo operation of a boolean attribute change.

Implements AttributeMaterialModifier.

Definition at line 117 of file MaterialModifier.cpp.

void AttributeMaterialModifierBool::Undo ( void  )
virtual

Performs an undo operation of a boolean attribute change.

Implements AttributeMaterialModifier.

Definition at line 109 of file MaterialModifier.cpp.

Member Data Documentation

bool AttributeMaterialModifierBool::oldValue
protected

Definition at line 101 of file MaterialModifier.h.

bool AttributeMaterialModifierBool::value
protected

Definition at line 100 of file MaterialModifier.h.


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