doom3-gpl
Doom 3 GPL source release
|
Undo/Redo operation for boolean attribute changes. More...
#include <MaterialModifier.h>
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 | |
MaterialDocManager * | manager |
idStr | materialName |
Undo/Redo operation for boolean attribute changes.
Definition at line 90 of file MaterialModifier.h.
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.
|
inlinevirtual |
Definition at line 94 of file MaterialModifier.h.
Performs a redo operation of a boolean attribute change.
Implements AttributeMaterialModifier.
Definition at line 117 of file MaterialModifier.cpp.
Performs an undo operation of a boolean attribute change.
Implements AttributeMaterialModifier.
Definition at line 109 of file MaterialModifier.cpp.
|
protected |
Definition at line 101 of file MaterialModifier.h.
|
protected |
Definition at line 100 of file MaterialModifier.h.