![]() |
Blamite Game Engine - Keystone
00386.06.16.23.0646.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Class representing a Game Window "document". More...
#include <game_window.h>
Inheritance diagram for BlamEditorDocument_GameWindow:
Collaboration diagram for BlamEditorDocument_GameWindow:Public Member Functions | |
| BlamEditorDocument_GameWindow (BlamEditorWindow *parent_window) | |
| bool | Close () |
| Closes the document and releases any resources being used by it. More... | |
Public Member Functions inherited from BlamEditorDocument | |
| BlamEditorDocument (BlamEditorWindow *_window, BlamEditorDocumentType doctype) | |
| Constructs a new BlamEditorDocument. More... | |
| BlamEditorDocumentType | GetDocumentType () |
| Retrieves the type of this document. More... | |
| virtual void | OnThemeChange (BlamEditorTheme *new_theme) |
| Called when the active theme is changed. More... | |
| void | Show () |
| Shows the document within the parent window. More... | |
| void | UpdateDefaultIcon () |
| Updates the document's icon. More... | |
| virtual bool | ConfirmClose () |
| Called immediately before closing a document. More... | |
| virtual void | FlagAsModified () |
| Flags the document as being modified. More... | |
| virtual bool | Close (bool force_close) |
| Closes the document and releases any resources being used by it. More... | |
| virtual void | Save () |
| Attempts to save the document, replacing the original file. More... | |
| virtual void | SaveAs () |
| Attempts to save the document, prompting the user to save as a new file. More... | |
| virtual void | OnFocused () |
| virtual void | OnUnfocused () |
Additional Inherited Members | |
Public Attributes inherited from BlamEditorDocument | |
| BlamEditorWindow * | parent_window = nullptr |
| The parent window that owns this document. More... | |
| std::string | document_title = "document" |
| The title of this document. More... | |
| BlamEditorDocumentWidget * | ui = nullptr |
| The GUI widget associated with this document. More... | |
| bool | loaded = true |
| Whether or not the document was able to be successfully loaded. More... | |
| bool | modified = false |
| Whether or not the document has been modified. More... | |
| bool | override_icon = false |
| Whether or not this document uses a custom icon other than the application default. More... | |
| std::string | custom_icon_group = "" |
The resource group containing the custom icon name. Only used when override_icon is true. More... | |
| std::string | custom_icon_id = "" |
The resource ID of the custom icon. Only used when override_icon is true. More... | |
| std::string | file_path = "" |
| The path to the file associated with this document. More... | |
| std::string | document_context = "" |
| The context of this document. Will generally be a project or tag folder. More... | |
Class representing a Game Window "document".
The game viewport is treated as a document, so that it can be easily displayed as both a MDI subwindow, as well as presented in the tab view in Foundry.
| BlamEditorDocument_GameWindow::BlamEditorDocument_GameWindow | ( | BlamEditorWindow * | parent_window | ) |
Here is the call graph for this function:
|
virtual |
Closes the document and releases any resources being used by it.
true if the document was closed, false if the close was cancelled. Reimplemented from BlamEditorDocument.
Here is the call graph for this function: