![]() |
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 () |
Private Member Functions | |
| void | RenderMenuBar () |
| void | RenderEntityPanel () |
| void | RenderNodeEditor () |
| void | RenderPropertyPanel () |
| void | RenderStatusBar () |
| void | RenderComponentAddDialog () |
| void | RenderPreferencesDialog () |
| void | RenderShortcutsDialog () |
| void | RenderMigrationDialog () |
| void | HandleKeyboardShortcuts () |
| void | NewBlueprint () |
| 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 40 of file BlueprintEditorGUI.h.
| Olympe::BlueprintEditorGUI::BlueprintEditorGUI | ( | ) |
Definition at line 18 of file BlueprintEditorGUI.cpp.
References m_FilepathBuffer, and m_NewBlueprintNameBuffer.
| Olympe::BlueprintEditorGUI::~BlueprintEditorGUI | ( | ) |
Definition at line 44 of file BlueprintEditorGUI.cpp.
References m_HistoryPanel, and m_TemplateBrowserPanel.
Definition at line 749 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(), Olympe::BlueprintEditor::MarkAsModified(), and Olympe::Blueprint::ComponentData::type.
Referenced by RenderComponentAddDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 954 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), LoadBlueprint(), m_ShowTemplateBrowser, NewBlueprint(), 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 59 of file BlueprintEditorGUI.cpp.
References GetComponentTypeID_Static(), Olympe::EntitiesPanel::Initialize(), Olympe::HistoryPanel::Initialize(), Olympe::InspectorPanel::Initialize(), Olympe::NodeGraphPanel::Initialize(), Olympe::TemplateBrowserPanel::Initialize(), Olympe::AssetBrowser::Initialize(), LoadBlueprint(), m_AssetBrowser, m_EntitiesPanel, m_HistoryPanel, m_InspectorPanel, m_NodeGraphPanel, m_TemplateBrowserPanel, 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 711 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), LoadBlueprint(), m_NodePositions, and m_SelectedComponentIndex.
Referenced by HandleKeyboardShortcuts(), Initialize(), LoadBlueprint(), and Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 701 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), m_NodePositions, m_SelectedComponentIndex, and Olympe::BlueprintEditor::NewBlueprint().
Referenced by HandleKeyboardShortcuts(), and Render().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 800 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 115 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), GetComponentTypeID_Static(), HandleKeyboardShortcuts(), LoadBlueprint(), m_AssetBrowser, m_HistoryPanel, m_InspectorPanel, m_NodeGraphPanel, m_SelectedComponentIndex, m_ShowAboutDialog, m_ShowAddComponentDialog, m_ShowAssetBrowser, m_ShowDemoWindow, m_ShowHistory, m_ShowInspector, m_ShowNodeGraph, m_ShowPreferences, m_ShowShortcuts, m_ShowTemplateBrowser, m_TemplateBrowserPanel, NewBlueprint(), RemoveComponent(), Olympe::AssetBrowser::Render(), Olympe::HistoryPanel::Render(), Olympe::InspectorPanel::Render(), Olympe::NodeGraphPanel::Render(), Olympe::TemplateBrowserPanel::Render(), RenderComponentAddDialog(), RenderMigrationDialog(), RenderPreferencesDialog(), RenderShortcutsDialog(), RenderStatusBar(), SaveBlueprint(), and SaveBlueprintAs().
Referenced by SDL_AppIterate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 660 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 444 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 440 of file BlueprintEditorGUI.cpp.
|
private |
Definition at line 900 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 518 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 818 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 586 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 851 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 621 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 722 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), and GetComponentTypeID_Static().
Referenced by HandleKeyboardShortcuts(), and Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 739 of file BlueprintEditorGUI.cpp.
References Olympe::BlueprintEditor::Get(), and GetComponentTypeID_Static().
Referenced by HandleKeyboardShortcuts(), and Render().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditorGUI::Shutdown | ( | ) |
Definition at line 91 of file BlueprintEditorGUI.cpp.
References m_EntitiesPanel, m_HistoryPanel, m_InspectorPanel, m_NodeGraphPanel, m_TemplateBrowserPanel, Olympe::EntitiesPanel::Shutdown(), Olympe::HistoryPanel::Shutdown(), Olympe::InspectorPanel::Shutdown(), Olympe::NodeGraphPanel::Shutdown(), and Olympe::TemplateBrowserPanel::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 112 of file BlueprintEditorGUI.h.
Referenced by Initialize(), and Render().
|
private |
Definition at line 113 of file BlueprintEditorGUI.h.
|
private |
Definition at line 84 of file BlueprintEditorGUI.h.
|
private |
Definition at line 117 of file BlueprintEditorGUI.h.
Referenced by Initialize(), and Shutdown().
|
private |
Definition at line 92 of file BlueprintEditorGUI.h.
Referenced by BlueprintEditorGUI().
|
private |
Definition at line 124 of file BlueprintEditorGUI.h.
Referenced by Initialize(), Render(), Shutdown(), and ~BlueprintEditorGUI().
|
private |
Definition at line 118 of file BlueprintEditorGUI.h.
Referenced by Initialize(), Render(), and Shutdown().
|
private |
Definition at line 91 of file BlueprintEditorGUI.h.
Referenced by BlueprintEditorGUI().
|
private |
Definition at line 85 of file BlueprintEditorGUI.h.
|
private |
Definition at line 116 of file BlueprintEditorGUI.h.
Referenced by Initialize(), Render(), and Shutdown().
Definition at line 83 of file BlueprintEditorGUI.h.
Referenced by LoadBlueprint(), NewBlueprint(), and RenderNodeEditor().
|
private |
Definition at line 80 of file BlueprintEditorGUI.h.
Referenced by LoadBlueprint(), NewBlueprint(), RemoveComponent(), Render(), RenderEntityPanel(), RenderNodeEditor(), and RenderPropertyPanel().
|
private |
Definition at line 93 of file BlueprintEditorGUI.h.
Referenced by RenderComponentAddDialog().
|
private |
Definition at line 90 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 89 of file BlueprintEditorGUI.h.
Referenced by Render(), RenderComponentAddDialog(), and RenderEntityPanel().
|
private |
Definition at line 96 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 97 of file BlueprintEditorGUI.h.
|
private |
Definition at line 102 of file BlueprintEditorGUI.h.
|
private |
Definition at line 88 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 100 of file BlueprintEditorGUI.h.
|
private |
Definition at line 101 of file BlueprintEditorGUI.h.
|
private |
Definition at line 105 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 98 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 99 of file BlueprintEditorGUI.h.
Referenced by Render().
|
private |
Definition at line 108 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderPreferencesDialog().
|
private |
Definition at line 103 of file BlueprintEditorGUI.h.
|
private |
Definition at line 109 of file BlueprintEditorGUI.h.
Referenced by Render(), and RenderShortcutsDialog().
|
private |
Definition at line 104 of file BlueprintEditorGUI.h.
Referenced by HandleKeyboardShortcuts(), and Render().
|
private |
Definition at line 121 of file BlueprintEditorGUI.h.
Referenced by Initialize(), Render(), Shutdown(), and ~BlueprintEditorGUI().