Starshatter_Open
Open source Starshatter engine
|
#include <MagicDoc.h>
Public Member Functions | |
virtual BOOL | OnNewDocument () |
virtual void | Serialize (CArchive &ar) |
virtual BOOL | OnSaveDocument (LPCTSTR lpszPathName) |
virtual BOOL | OnOpenDocument (LPCTSTR lpszPathName) |
virtual void | DeleteContents () |
void | InitCommandStack () |
void | Exec (Command *command) |
void | Undo () |
void | Redo () |
int | NumUndo () const |
int | NumRedo () const |
const char * | GetUndoName () const |
const char * | GetRedoName () const |
virtual | ~MagicDoc () |
Solid * | GetSolid () |
Selection * | GetSelection () |
Selector * | GetSelector () |
Editor * | GetEditor () |
bool | ImportFile (LPCTSTR path_name) |
bool | ExportFile (LPCTSTR path_name) |
Protected Member Functions | |
MagicDoc () | |
afx_msg void | OnSurfaceOptimize () |
afx_msg void | OnSurfaceExplode () |
afx_msg void | OnUpdateSurfaceOptimize (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateSurfaceExplode (CCmdUI *pCmdUI) |
Protected Attributes | |
Solid * | solid |
Selection * | selection |
Selector * | selector |
Editor * | editor |
List< Command > | commands |
int | nundo |
Definition at line 41 of file MagicDoc.h.
|
protected |
Definition at line 56 of file MagicDoc.cpp.
|
virtual |
Definition at line 65 of file MagicDoc.cpp.
|
virtual |
Definition at line 443 of file MagicDoc.cpp.
void MagicDoc::Exec | ( | Command * | command | ) |
Definition at line 83 of file MagicDoc.cpp.
bool MagicDoc::ExportFile | ( | LPCTSTR | path_name | ) |
Definition at line 383 of file MagicDoc.cpp.
|
inline |
Definition at line 84 of file MagicDoc.h.
const char * MagicDoc::GetRedoName | ( | ) | const |
Definition at line 125 of file MagicDoc.cpp.
|
inline |
Definition at line 82 of file MagicDoc.h.
|
inline |
Definition at line 83 of file MagicDoc.h.
|
inline |
Definition at line 81 of file MagicDoc.h.
const char * MagicDoc::GetUndoName | ( | ) | const |
Definition at line 116 of file MagicDoc.cpp.
bool MagicDoc::ImportFile | ( | LPCTSTR | path_name | ) |
Definition at line 241 of file MagicDoc.cpp.
void MagicDoc::InitCommandStack | ( | ) |
Definition at line 76 of file MagicDoc.cpp.
int MagicDoc::NumRedo | ( | ) | const |
Definition at line 110 of file MagicDoc.cpp.
int MagicDoc::NumUndo | ( | ) | const |
Definition at line 104 of file MagicDoc.cpp.
|
virtual |
Definition at line 149 of file MagicDoc.cpp.
|
virtual |
Definition at line 199 of file MagicDoc.cpp.
|
virtual |
Definition at line 187 of file MagicDoc.cpp.
|
protected |
Definition at line 603 of file MagicDoc.cpp.
|
protected |
Definition at line 589 of file MagicDoc.cpp.
|
protected |
Definition at line 612 of file MagicDoc.cpp.
|
protected |
Definition at line 598 of file MagicDoc.cpp.
void MagicDoc::Redo | ( | ) |
Definition at line 141 of file MagicDoc.cpp.
|
virtual |
Definition at line 167 of file MagicDoc.cpp.
void MagicDoc::Undo | ( | ) |
Definition at line 134 of file MagicDoc.cpp.
Definition at line 95 of file MagicDoc.h.
|
protected |
Definition at line 93 of file MagicDoc.h.
|
protected |
Definition at line 96 of file MagicDoc.h.
|
protected |
Definition at line 91 of file MagicDoc.h.
|
protected |
Definition at line 92 of file MagicDoc.h.
|
protected |
Definition at line 90 of file MagicDoc.h.