Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Olympe::EditorTab Struct Reference

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.
 
IGraphRendererrenderer
 Owned pointer — deleted when tab is closed.
 

Detailed Description

Represents a single open graph in the editor.

Definition at line 38 of file TabManager.h.

Constructor & Destructor Documentation

◆ EditorTab()

Olympe::EditorTab::EditorTab ( )
inline

Definition at line 49 of file TabManager.h.

Member Data Documentation

◆ displayName

std::string Olympe::EditorTab::displayName

Label shown in the tab bar.

Definition at line 41 of file TabManager.h.

◆ filePath

std::string Olympe::EditorTab::filePath

Full path, empty for unsaved graphs.

Definition at line 42 of file TabManager.h.

◆ graphType

std::string Olympe::EditorTab::graphType

"VisualScript", "BehaviorTree", etc.

Definition at line 43 of file TabManager.h.

◆ isActive

bool Olympe::EditorTab::isActive

True when this is the currently selected tab.

Definition at line 45 of file TabManager.h.

◆ isDirty

bool Olympe::EditorTab::isDirty

True when there are unsaved changes.

Definition at line 44 of file TabManager.h.

Referenced by Olympe::TabManager::RenderTabBar().

◆ renderer

IGraphRenderer* Olympe::EditorTab::renderer

Owned pointer — deleted when tab is closed.

Definition at line 47 of file TabManager.h.

◆ tabID

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().


The documentation for this struct was generated from the following file: