![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
BlueprintEditorGUI - Frontend UI for Blueprint Editor Renders ImGui interface and interacts with BlueprintEditor backend Contains NO business logic - all data operations go through backend. More...
#include <BlueprintEditorGUI.h>
Collaboration diagram for Olympe::BlueprintEditorGUI:Public Member Functions | |
| BlueprintEditorGUI () | |
| ~BlueprintEditorGUI () | |
| void | Initialize () |
| void | Shutdown () |
| void | Render () |
| void | LoadEditorConfig () |
| void | SaveEditorConfig () |
Private Member Functions | |
| void | RenderMenuBar () |
| void | RenderEntityPanel () |
| void | RenderNodeEditor () |
| void | RenderPropertyPanel () |
| void | RenderStatusBar () |
| void | RenderComponentAddDialog () |
| void | RenderFixedLayout () |
| void | RenderPreferencesDialog () |
| void | RenderShortcutsDialog () |
| void | RenderMigrationDialog () |
| void | HandleKeyboardShortcuts () |
| void | NewBlueprint () |
| void | NewVisualScriptGraph () |
| void | LoadBlueprint (const std::string &filepath) |
| void | SaveBlueprint () |
| void | SaveBlueprintAs () |
| void | AddComponent (const std::string &type) |
| void | RemoveComponent (int index) |
BlueprintEditorGUI - Frontend UI for Blueprint Editor Renders ImGui interface and interacts with BlueprintEditor backend Contains NO business logic - all data operations go through backend.
Definition at line 43 of file BlueprintEditorGUI.h.
| Olympe::BlueprintEditorGUI::BlueprintEditorGUI | ( | ) |
Definition at line 30 of file BlueprintEditorGUI.cpp.
References m_FilepathBuffer, and m_NewBlueprintNameBuffer.
| Olympe::BlueprintEditorGUI::~BlueprintEditorGUI | ( | ) |
Definition at line 69 of file BlueprintEditorGUI.cpp.
References m_DebugPanel, m_HistoryPanel, m_ProfilerPanel, m_TemplateBrowserPanel, and m_VSEditorPanel.
Definition at line 1009 of file BlueprintEditorGUI.cpp.
References Olympe::Blueprint::CreateAIBehaviorComponent(), Olympe::Blueprint::CreateBoundingBoxComponent(), Olympe::Blueprint::CreateHealthComponent(), Olympe::Blueprint::CreateMovementComponent(), Olympe::Blueprint::CreatePhysicsBodyComponent(), Olympe::Blueprint::CreatePositionComponent(), Olympe::Blueprint::CreateVisualSpriteComponent(), Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), Olympe::BlueprintEditor::GetCurrentBlueprintMutable(), and Olympe::BlueprintEditor::MarkAsModified().
Referenced by RenderComponentAddDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1214 of file BlueprintEditorGUI.cpp.
References Olympe::TabManager::CloseAllTabs(), Olympe::TabManager::CloseTab(), Olympe::TabManager::CreateNewTab(), Olympe::BlueprintEditor::Get(), Olympe::TabManager::Get(), GetComponentTypeID_Static(), LoadBlueprint(), m_ShowTemplateBrowser, Olympe::TabManager::SaveActiveTab(), Olympe::TabManager::SaveActiveTabAs(), SaveBlueprint(), and SaveBlueprintAs().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditorGUI::Initialize | ( | ) |
Definition at line 102 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), Olympe::FontManager::Get(), GetComponentTypeID_Static(), Olympe::DebugPanel::Initialize(), Olympe::EntitiesPanel::Initialize(), Olympe::HistoryPanel::Initialize(), Olympe::InspectorPanel::Initialize(), Olympe::NodeGraphPanel::Initialize(), Olympe::ProfilerPanel::Initialize(), Olympe::TemplateBrowserPanel::Initialize(), Olympe::VisualScriptEditorPanel::Initialize(), Olympe::FontManager::Initialize(), Olympe::AssetBrowser::Initialize(), LoadBlueprint(), Olympe::FontManager::LoadFontAwesome(), m_AssetBrowser, m_AssetBrowserWidth, m_DebugPanel, m_EntitiesPanel, m_HistoryPanel, m_InspectorPanel, m_InspectorWidth, m_MinPanelWidth, m_NodeGraphPanel, m_ProfilerPanel, m_SplitterSize, m_TemplateBrowserPanel, m_VSEditorPanel, and Olympe::AssetBrowser::SetAssetOpenCallback().
Referenced by SDL_AppInit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 958 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), Olympe::TabManager::Get(), LoadBlueprint(), m_NodePositions, m_SelectedComponentIndex, and Olympe::TabManager::OpenFileInTab().
Referenced by HandleKeyboardShortcuts(), Initialize(), LoadBlueprint(), and Render().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditorGUI::LoadEditorConfig | ( | ) |
|
private |
Definition at line 941 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), m_NodePositions, m_SelectedComponentIndex, and Olympe::BlueprintEditor::NewBlueprint().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 951 of file BlueprintEditorGUI.cpp.
References Olympe::TabManager::CreateNewTab(), Olympe::TabManager::Get(), and SYSTEM_LOG.
Here is the call graph for this function:Definition at line 1060 of file BlueprintEditorGUI.cpp.
References Olympe::Blueprint::EntityBlueprint::components, Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), Olympe::BlueprintEditor::GetCurrentBlueprintMutable(), m_SelectedComponentIndex, and Olympe::BlueprintEditor::MarkAsModified().
Referenced by Render(), and RenderEntityPanel().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditorGUI::Render | ( | ) |
Definition at line 221 of file BlueprintEditorGUI.cpp.
References Olympe::TabManager::CloseAllTabs(), Olympe::TabManager::CloseTab(), Olympe::TabManager::CreateNewTab(), Olympe::BlueprintEditor::Get(), Olympe::TabManager::Get(), GetComponentTypeID_Static(), HandleKeyboardShortcuts(), ICON_FA_ARROW_RIGHT, ICON_FA_ARROW_ROTATE_RIGHT, ICON_FA_BOOK, ICON_FA_BOOKMARK, ICON_FA_BRAIN, ICON_FA_BUG, ICON_FA_CHECK, ICON_FA_CIRCLE_INFO, ICON_FA_CIRCLE_QUESTION, ICON_FA_CLOCK, ICON_FA_CODE, ICON_FA_CUBES, ICON_FA_DIAGRAM_PROJECT, ICON_FA_EYE, ICON_FA_FILE, ICON_FA_FILE_CODE, ICON_FA_FLOPPY_DISK, ICON_FA_FOLDER, ICON_FA_FOLDER_OPEN, ICON_FA_GAUGE, ICON_FA_GEAR, ICON_FA_LIGHTBULB, ICON_FA_LIST, ICON_FA_PEN_TO_SQUARE, ICON_FA_PLUS, ICON_FA_ROTATE_LEFT, ICON_FA_ROTATE_RIGHT, ICON_FA_SLIDERS, ICON_FA_TRASH_CAN, ICON_FA_WINDOW_RESTORE, ICON_FA_WRENCH, ICON_FA_XMARK, Olympe::TabManager::IsEmpty(), LoadBlueprint(), m_SelectedComponentIndex, m_ShowAboutDialog, m_ShowAddComponentDialog, m_ShowAssetBrowser, m_ShowDebugger, m_ShowDemoWindow, m_ShowHistory, m_ShowInspector, m_ShowNodeGraph, m_ShowPreferences, m_ShowProfiler, m_ShowShortcuts, m_ShowTemplateBrowser, m_ShowVSEditor, m_TemplateBrowserPanel, NewBlueprint(), RemoveComponent(), RenderComponentAddDialog(), RenderFixedLayout(), RenderMigrationDialog(), RenderPreferencesDialog(), RenderShortcutsDialog(), Olympe::TabManager::SaveActiveTab(), and Olympe::TabManager::SaveActiveTabAs().
Referenced by SDL_AppIterate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 900 of file BlueprintEditorGUI.cpp.
References AddComponent(), GetComponentTypeID_Static(), m_SelectedComponentType, and m_ShowAddComponentDialog.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 684 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), m_SelectedComponentIndex, m_ShowAddComponentDialog, and RemoveComponent().
Here is the call graph for this function:
|
private |
Definition at line 505 of file BlueprintEditorGUI.cpp.
References Olympe::TabManager::Get(), GetComponentTypeID_Static(), Olympe::VisualScriptRenderer::GetPanel(), m_AssetBrowser, m_AssetBrowserWidth, m_DebugPanel, m_HistoryPanel, m_InspectorPanel, m_InspectorPanelHeight, m_LeftPanelSplitHeight, m_MinPanelWidth, m_ProfilerPanel, m_ShowAssetBrowser, m_ShowDebugger, m_ShowHistory, m_ShowInspector, m_ShowProfiler, m_ShowTemplateBrowser, m_SplitterSize, m_TemplateBrowserPanel, Olympe::DebugPanel::Render(), Olympe::HistoryPanel::Render(), Olympe::ProfilerPanel::Render(), Olympe::TemplateBrowserPanel::Render(), Olympe::TabManager::RenderActiveCanvas(), Olympe::AssetBrowser::RenderContent(), Olympe::InspectorPanel::RenderContent(), Olympe::TabManager::RenderTabBar(), and Olympe::VisualScriptEditorPanel::RenderVerificationLogsPanel().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 680 of file BlueprintEditorGUI.cpp.
|
private |
Definition at line 1160 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), and GetComponentTypeID_Static().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 758 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), m_NodePositions, and m_SelectedComponentIndex.
Here is the call graph for this function:
|
private |
Definition at line 1078 of file BlueprintEditorGUI.cpp.
References GetComponentTypeID_Static(), and m_ShowPreferences.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 826 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), and m_SelectedComponentIndex.
Here is the call graph for this function:
|
private |
Definition at line 1111 of file BlueprintEditorGUI.cpp.
References GetComponentTypeID_Static(), and m_ShowShortcuts.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 861 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), and GetComponentTypeID_Static().
Here is the call graph for this function:
|
private |
Definition at line 980 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), and GetComponentTypeID_Static().
Referenced by HandleKeyboardShortcuts().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 997 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), and SYSTEM_LOG.
Referenced by HandleKeyboardShortcuts().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditorGUI::SaveEditorConfig | ( | ) |
| void Olympe::BlueprintEditorGUI::Shutdown | ( | ) |
Definition at line 164 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), m_AssetBrowserWidth, m_DebugPanel, m_EntitiesPanel, m_HistoryPanel, m_InspectorPanel, m_InspectorWidth, m_MinPanelWidth, m_NodeGraphPanel, m_ProfilerPanel, m_SplitterSize, m_TemplateBrowserPanel, m_VSEditorPanel, Olympe::DebugPanel::Shutdown(), Olympe::EntitiesPanel::Shutdown(), Olympe::HistoryPanel::Shutdown(), Olympe::InspectorPanel::Shutdown(), Olympe::NodeGraphPanel::Shutdown(), Olympe::ProfilerPanel::Shutdown(), Olympe::TemplateBrowserPanel::Shutdown(), and Olympe::VisualScriptEditorPanel::Shutdown().
Referenced by SDL_AppQuit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 126 of file BlueprintEditorGUI.h.
Referenced by Initialize(), and RenderFixedLayout().
|
private |
Definition at line 146 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), and Shutdown().
|
private |
Definition at line 127 of file BlueprintEditorGUI.h.
|
private |
Definition at line 95 of file BlueprintEditorGUI.h.
|
private |
Definition at line 142 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), Shutdown(), and ~BlueprintEditorGUI().
|
private |
Definition at line 131 of file BlueprintEditorGUI.h.
Referenced by Initialize(), and Shutdown().
|
private |
Definition at line 103 of file BlueprintEditorGUI.h.
Referenced by BlueprintEditorGUI().
|
private |
Definition at line 138 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), Shutdown(), and ~BlueprintEditorGUI().
|
private |
Definition at line 132 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), and Shutdown().
|
private |
Definition at line 159 of file BlueprintEditorGUI.h.
Referenced by RenderFixedLayout().
|
private |
Definition at line 147 of file BlueprintEditorGUI.h.
Referenced by Initialize(), and Shutdown().
|
private |
Definition at line 154 of file BlueprintEditorGUI.h.
Referenced by RenderFixedLayout().
|
private |
Definition at line 148 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), and Shutdown().
|
private |
Definition at line 102 of file BlueprintEditorGUI.h.
Referenced by BlueprintEditorGUI().
|
private |
Definition at line 96 of file BlueprintEditorGUI.h.
|
private |
Definition at line 130 of file BlueprintEditorGUI.h.
Referenced by Initialize(), and Shutdown().
Definition at line 94 of file BlueprintEditorGUI.h.
Referenced by LoadBlueprint(), NewBlueprint(), and RenderNodeEditor().
|
private |
Definition at line 143 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), Shutdown(), and ~BlueprintEditorGUI().
|
private |
Definition at line 91 of file BlueprintEditorGUI.h.
Referenced by LoadBlueprint(), NewBlueprint(), RemoveComponent(), Render(), RenderEntityPanel(), RenderNodeEditor(), and RenderPropertyPanel().
|
private |
Definition at line 104 of file BlueprintEditorGUI.h.
Referenced by RenderComponentAddDialog().
|
private |
Definition at line 101 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 100 of file BlueprintEditorGUI.h.
Referenced by Render(), RenderComponentAddDialog(), and RenderEntityPanel().
|
private |
Definition at line 107 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderFixedLayout().
|
private |
Definition at line 108 of file BlueprintEditorGUI.h.
|
private |
Definition at line 113 of file BlueprintEditorGUI.h.
|
private |
Definition at line 118 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderFixedLayout().
|
private |
Definition at line 99 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 111 of file BlueprintEditorGUI.h.
|
private |
Definition at line 112 of file BlueprintEditorGUI.h.
|
private |
Definition at line 116 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderFixedLayout().
|
private |
Definition at line 109 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderFixedLayout().
|
private |
Definition at line 110 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 122 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderPreferencesDialog().
|
private |
Definition at line 119 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderFixedLayout().
|
private |
Definition at line 114 of file BlueprintEditorGUI.h.
|
private |
Definition at line 123 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderShortcutsDialog().
|
private |
Definition at line 115 of file BlueprintEditorGUI.h.
Referenced by HandleKeyboardShortcuts(), Render(), and RenderFixedLayout().
|
private |
Definition at line 117 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 149 of file BlueprintEditorGUI.h.
Referenced by Initialize(), RenderFixedLayout(), and Shutdown().
|
private |
Definition at line 135 of file BlueprintEditorGUI.h.
Referenced by Initialize(), Render(), RenderFixedLayout(), Shutdown(), and ~BlueprintEditorGUI().
|
private |
Definition at line 160 of file BlueprintEditorGUI.h.
|
private |
Definition at line 141 of file BlueprintEditorGUI.h.
Referenced by Initialize(), Shutdown(), and ~BlueprintEditorGUI().