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

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

#include <MaterialModifier.h>

Inheritance diagram for RenameMaterialFolderModifier:
MaterialModifier

Public Member Functions

 RenameMaterialFolderModifier (MaterialDocManager *manager, const char *materialName, MaterialTreeView *view, HTREEITEM item, const char *oldName)
 Constructor for RenameMaterialFolderModifier. More...
 
virtual ~RenameMaterialFolderModifier ()
 
virtual void Undo ()
 Performs an undo operation of a renamed material folder. More...
 
virtual void Redo ()
 Performs a redo operation of a renamed 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
 
idStr oldName
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for renaming a material folder.

Definition at line 236 of file MaterialModifier.h.

Constructor & Destructor Documentation

RenameMaterialFolderModifier::RenameMaterialFolderModifier ( MaterialDocManager manager,
const char *  materialName,
MaterialTreeView view,
HTREEITEM  item,
const char *  oldName 
)

Constructor for RenameMaterialFolderModifier.

Definition at line 371 of file MaterialModifier.cpp.

virtual RenameMaterialFolderModifier::~RenameMaterialFolderModifier ( )
inlinevirtual

Definition at line 239 of file MaterialModifier.h.

Member Function Documentation

void RenameMaterialFolderModifier::Redo ( void  )
virtual

Performs a redo operation of a renamed material folder.

Implements MaterialModifier.

Definition at line 388 of file MaterialModifier.cpp.

void RenameMaterialFolderModifier::Undo ( void  )
virtual

Performs an undo operation of a renamed material folder.

Implements MaterialModifier.

Definition at line 381 of file MaterialModifier.cpp.

Member Data Documentation

HTREEITEM RenameMaterialFolderModifier::item
protected

Definition at line 246 of file MaterialModifier.h.

idStr RenameMaterialFolderModifier::oldName
protected

Definition at line 247 of file MaterialModifier.h.

MaterialTreeView* RenameMaterialFolderModifier::view
protected

Definition at line 245 of file MaterialModifier.h.


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