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

Undo/Redo operation for deleting a material folder. More...

#include <MaterialModifier.h>

Inheritance diagram for DeleteMaterialFolderModifier:
MaterialModifier

Public Member Functions

 DeleteMaterialFolderModifier (MaterialDocManager *manager, const char *materialName, MaterialTreeView *view, HTREEITEM parent, idStrList *affectedMaterials)
 Constructor for DeleteMaterialFolderModifier. More...
 
virtual ~DeleteMaterialFolderModifier ()
 
virtual void Undo ()
 Performs an undo operation of a deleted material folder. More...
 
virtual void Redo ()
 Performs a redo operation of a deleted material folder. More...
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

MaterialTreeViewview
 
idStrList affectedMaterials
 
HTREEITEM item
 
HTREEITEM parent
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for deleting a material folder.

Definition at line 253 of file MaterialModifier.h.

Constructor & Destructor Documentation

DeleteMaterialFolderModifier::DeleteMaterialFolderModifier ( MaterialDocManager manager,
const char *  materialName,
MaterialTreeView view,
HTREEITEM  parent,
idStrList affectedMaterials 
)

Constructor for DeleteMaterialFolderModifier.

Definition at line 400 of file MaterialModifier.cpp.

virtual DeleteMaterialFolderModifier::~DeleteMaterialFolderModifier ( )
inlinevirtual

Definition at line 256 of file MaterialModifier.h.

Member Function Documentation

void DeleteMaterialFolderModifier::Redo ( void  )
virtual

Performs a redo operation of a deleted material folder.

Implements MaterialModifier.

Definition at line 424 of file MaterialModifier.cpp.

void DeleteMaterialFolderModifier::Undo ( void  )
virtual

Performs an undo operation of a deleted material folder.

Implements MaterialModifier.

Definition at line 410 of file MaterialModifier.cpp.

Member Data Documentation

idStrList DeleteMaterialFolderModifier::affectedMaterials
protected

Definition at line 263 of file MaterialModifier.h.

HTREEITEM DeleteMaterialFolderModifier::item
protected

Definition at line 265 of file MaterialModifier.h.

HTREEITEM DeleteMaterialFolderModifier::parent
protected

Definition at line 266 of file MaterialModifier.h.

MaterialTreeView* DeleteMaterialFolderModifier::view
protected

Definition at line 262 of file MaterialModifier.h.


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