![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Represents a single open graph in the editor. More...
#include <TabManager.h>
Collaboration diagram for Olympe::EditorTab:Public Member Functions | |
| EditorTab () | |
Public Attributes | |
| std::string | tabID |
| Unique identifier (stringified int counter) | |
| std::string | displayName |
| Label shown in the tab bar. | |
| std::string | filePath |
| Full path, empty for unsaved graphs. | |
| std::string | graphType |
| "VisualScript", "BehaviorTree", etc. | |
| bool | isDirty |
| True when there are unsaved changes. | |
| bool | isActive |
| True when this is the currently selected tab. | |
| IGraphRenderer * | renderer |
| Owned pointer — deleted when tab is closed. | |
Represents a single open graph in the editor.
Definition at line 38 of file TabManager.h.
|
inline |
Definition at line 49 of file TabManager.h.
| std::string Olympe::EditorTab::displayName |
Label shown in the tab bar.
Definition at line 41 of file TabManager.h.
| std::string Olympe::EditorTab::filePath |
Full path, empty for unsaved graphs.
Definition at line 42 of file TabManager.h.
| std::string Olympe::EditorTab::graphType |
"VisualScript", "BehaviorTree", etc.
Definition at line 43 of file TabManager.h.
| bool Olympe::EditorTab::isActive |
True when this is the currently selected tab.
Definition at line 45 of file TabManager.h.
| bool Olympe::EditorTab::isDirty |
True when there are unsaved changes.
Definition at line 44 of file TabManager.h.
Referenced by Olympe::TabManager::RenderTabBar().
| IGraphRenderer* Olympe::EditorTab::renderer |
Owned pointer — deleted when tab is closed.
Definition at line 47 of file TabManager.h.
| std::string Olympe::EditorTab::tabID |
Unique identifier (stringified int counter)
Definition at line 40 of file TabManager.h.
Referenced by Olympe::TabManager::CreateNewTab(), Olympe::TabManager::DestroyTab(), and Olympe::TabManager::OpenFileInTab().