10#include "../../Core/IconsFontAwesome6.h"
11#include "../../third_party/imgui/imgui.h"
12#include "../../system/system_utils.h"
24 if (ImGui::MenuItem(
ICON_FA_BRAIN " New Behavior Tree",
"Ctrl+N")) {
25 editor->MenuAction_NewBT();
28 editor->MenuAction_NewHFSM();
38 editor->MenuAction_SaveAs();
42 editor->MenuAction_Close();
51 bool canUndo =
editor->GetCommandStack().CanUndo();
52 bool canRedo =
editor->GetCommandStack().CanRedo();
68 editor->MenuAction_Paste();
71 editor->MenuAction_Delete();
75 editor->MenuAction_SelectAll();
85 editor->MenuAction_ShowNodePalette();
88 editor->MenuAction_ShowBlackboard();
91 editor->MenuAction_ShowSensesPanel();
93 if (ImGui::MenuItem(
ICON_FA_BUG " Show Runtime Debug")) {
94 editor->MenuAction_ShowRuntimeDebug();
98 editor->MenuAction_ResetLayout();
108 editor->MenuAction_About();
122 SYSTEM_LOG <<
"[AIEditorMenus] New BT dialog (not yet implemented)" << std::endl;
129 SYSTEM_LOG <<
"[AIEditorMenus] Open dialog (not yet implemented)" << std::endl;
136 SYSTEM_LOG <<
"[AIEditorMenus] Save As dialog (not yet implemented)" << std::endl;
142 ImGui::OpenPopup(
"About AI Editor");
145 ImGui::Text(
"AI Editor v1.0");
146 ImGui::Text(
"Phase 1.3 Implementation");
148 ImGui::Text(
"Olympe Engine");
149 ImGui::Text(
"(c) 2026");
153 if (ImGui::Button(
"Close")) {
154 ImGui::CloseCurrentPopup();
Main GUI class for AI Editor (Phase 1.3)
ComponentTypeID GetComponentTypeID_Static()
#define ICON_FA_PEN_TO_SQUARE
#define ICON_FA_DIAGRAM_PROJECT
#define ICON_FA_ROTATE_RIGHT
#define ICON_FA_TRASH_CAN
#define ICON_FA_WINDOW_RESTORE
#define ICON_FA_CIRCLE_INFO
#define ICON_FA_MICROCHIP
#define ICON_FA_FOLDER_OPEN
#define ICON_FA_CIRCLE_QUESTION
#define ICON_FA_FLOPPY_DISK
#define ICON_FA_ROTATE_LEFT
#define ICON_FA_CLIPBOARD
Main AI Editor GUI class.
< Provides AssetID and INVALID_ASSET_ID