The constructor for creating a new model editor child frame.
- Parameters
-
Parent | The applications parent frame. |
FileName | The file name of the document being edited. |
ModelDoc | This frames model document. The frame becomes the owner of the document, i.e. it is responsible for destructing it. (Document is created externally so that this constructor doesn't fail on doc creation failure.) |
ChildFrameT::~ChildFrameT |
( |
| ) |
|
const ModelElementTypeT ModelEditor::ChildFrameT::GetLastUsedType |
( |
| ) |
const |
|
inline |
Returns the type of the most recently used (clicked) model element.
bool ChildFrameT::Save |
( |
bool |
AskForFileName = false | ) |
|
Saves the model under the known or a new file name.
- Parameters
-
AskForFileName | Whether the method should ask the user to enter a new file name, used for "Save as...". |
- Returns
- whether the file was successfully saved.
void ModelEditor::ChildFrameT::SetLastUsedType |
( |
ModelElementTypeT |
Type | ) |
|
|
inline |
Sets the type of the most recently used (clicked) model element.
void ChildFrameT::ShowRelatedInspector |
( |
wxWindow * |
List, |
|
|
bool |
DoShow = true |
|
) |
| |
This method shows or hides the pane of the detail inspector that is related to the given list view.
The method does nothing if the given list view is not the joints hierarchy, the meshes list, the anims list or the GUI fixtures list.
bool ChildFrameT::SubmitCommand |
( |
CommandT * |
Command | ) |
|
[...] All(!) commands for modifying the document must be submitted via this method.
bool ChildFrameT::SubmitImportAnims |
( |
| ) |
|
Imports animation sequences from a user selected file, calls SubmitCommand() accordingly and returns its result.
bool ChildFrameT::SubmitNewChannel |
( |
| ) |
|
Creates a new animation channel, calls SubmitCommand() accordingly and returns its result.
bool ChildFrameT::SubmitNewGuiFixture |
( |
| ) |
|
Creates a new GUI fixture, calls SubmitCommand() accordingly and returns its result.
bool ChildFrameT::SubmitNewSkin |
( |
| ) |
|
Creates a new skin, calls SubmitCommand() accordingly and returns its result.
The documentation for this class was generated from the following files: