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

Undo/Redo operation for adding material folders. More...

#include <MaterialModifier.h>

Inheritance diagram for AddMaterialFolderModifier:
MaterialModifier

Public Member Functions

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

Protected Attributes

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

Detailed Description

Undo/Redo operation for adding material folders.

Definition at line 219 of file MaterialModifier.h.

Constructor & Destructor Documentation

AddMaterialFolderModifier::AddMaterialFolderModifier ( MaterialDocManager manager,
const char *  materialName,
MaterialTreeView view,
HTREEITEM  item,
HTREEITEM  parent 
)

Constructor for AddMaterialFolderModifier.

Definition at line 343 of file MaterialModifier.cpp.

virtual AddMaterialFolderModifier::~AddMaterialFolderModifier ( )
inlinevirtual

Definition at line 222 of file MaterialModifier.h.

Member Function Documentation

void AddMaterialFolderModifier::Redo ( void  )
virtual

Performs a redo operation of an added material folder.

Implements MaterialModifier.

Definition at line 360 of file MaterialModifier.cpp.

void AddMaterialFolderModifier::Undo ( void  )
virtual

Performs an undo operation of an added material folder.

Implements MaterialModifier.

Definition at line 353 of file MaterialModifier.cpp.

Member Data Documentation

HTREEITEM AddMaterialFolderModifier::item
protected

Definition at line 229 of file MaterialModifier.h.

HTREEITEM AddMaterialFolderModifier::parent
protected

Definition at line 230 of file MaterialModifier.h.

MaterialTreeView* AddMaterialFolderModifier::view
protected

Definition at line 228 of file MaterialModifier.h.


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