7#include <wx/aui/framemanager.h>
8#include <wx/checkbox.h>
10#include <wx/notebook.h>
11#include <wx/scrolwin.h>
12#include <wx/spinctrl.h>
13#include <wx/splitter.h>
14#include <wx/srchctrl.h>
15#include <wx/treectrl.h>
22class SimplePositioningFrame;
74 MainFrame(
const wxString &title,
const wxPoint &pos,
const wxSize &size,
long style = wxDEFAULT_FRAME_STYLE);
113 void LoadXMLFile(
const wxString &filePath,
bool confirmOverride =
false);
142 void OnExit(wxCommandEvent &event);
143 void OnAbout(wxCommandEvent &event);
177 void OnPaint(wxPaintEvent &event);
178 void OnIdle(wxIdleEvent &event);
188 void DoSaveXML(
const wxString &filePath);
Scene implementation for behavior tree visualization.
Bottom dockable panel for logs and output.
Represents a BehaviorTree project containing multiple XML resources.
Represents a complete behavior tree data structure.
Abstract interface for tree nodes that can be visualized.
Represents a node in a behavior tree structure.
Left sidebar panel specialized for left-side functionality.
std::string m_currentTreeId
void SyncSelection(EmberCore::ITreeNode *selectedNode)
virtual ~MainFrame()
Destructor - cleans up AUI manager and panels.
int CountTabGlobally(const wxString &tabName) const
void LogMessage(const wxString &message)
void UpdateTreeSelector()
void OnTreeSelectorTabClosed()
bool m_isUpdatingFromHierarchy
void OnSaveProject(wxCommandEvent &event)
void OnPreferences(wxCommandEvent &event)
void OnToggleLeftPanel(wxCommandEvent &event)
void UpdatePropertiesTabReference(PropertiesTab *propertiesTab)
void OnPaint(wxPaintEvent &event)
void OnParserConfig(wxCommandEvent &event)
void OnCloseProject(wxCommandEvent &event)
std::shared_ptr< EmberCore::BehaviorTreeProject > GetActiveProject() const
void OnPreviousScene(wxCommandEvent &event)
MainFrame(const wxString &title, const wxPoint &pos, const wxSize &size, long style=wxDEFAULT_FRAME_STYLE)
Construct the main frame.
void OnNewProject(wxCommandEvent &event)
void OnToggleMaximize(wxCommandEvent &event)
void RefreshPreferences()
void OpenTreeInNewScene(const std::string &treeId)
void CreateProjectOverviewScene()
bool m_isUpdatingFromScene
void OnSaveAsXML(wxCommandEvent &event)
void OnMonitorTool(wxCommandEvent &event)
void OnIdle(wxIdleEvent &event)
void OnToggleRightPanel(wxCommandEvent &event)
LeftSidePanel * m_leftPanel
void CreateMenuAndStatusBar()
void OnHierarchySelectionChanged(EmberCore::ITreeNode *selectedNode)
wxAuiManager * GetAuiManager()
void CenterOnNode(EmberCore::ITreeNode *node)
void ShowProjectSettings()
void UpdateTreeSelectorTabReference(TreeSelectorTab *treeSelectorTab)
void OnOpenProject(wxCommandEvent &event)
RightSidePanel * m_rightPanel
void DoSaveXML(const wxString &filePath)
void OnPropertiesTabClosed()
void OnLogReplayTool(wxCommandEvent &event)
void OnResetZoom(wxCommandEvent &event)
void OnToggleBottomPanel(wxCommandEvent &event)
void LoadTreeIntoScene(const std::string &treeId)
void LoadXMLFile(const wxString &filePath, bool confirmOverride=false)
std::shared_ptr< EmberCore::BehaviorTreeProject > m_activeProject
void OnNextScene(wxCommandEvent &event)
void OnAbout(wxCommandEvent &event)
wxToolBar * m_panelToggleToolbar
void OnSaveXML(wxCommandEvent &event)
BottomPanel * m_bottomPanel
void OnLoadXML(wxCommandEvent &event)
TreeSelectorTab * m_treeSelectorTab
void OnSceneSelectionChanged(EmberCore::ITreeNode *selectedNode)
std::map< std::string, std::shared_ptr< EmberCore::BehaviorTree > > m_projectTrees
bool HasActiveProject() const
void OnEditorTool(wxCommandEvent &event)
wxString m_currentFilePath
SceneHierarchyTab * m_hierarchyTab
void OnResetUI(wxCommandEvent &event)
void OnHierarchyTabClosed()
PropertiesTab * m_propertiesTab
void OnProjectSettings(wxCommandEvent &event)
void InitializeConfigurationMenu()
void UpdatePanelToggleButtons()
void UpdateHierarchyTabReference(SceneHierarchyTab *hierarchyTab)
void RefreshMenuHotkeys()
std::shared_ptr< EmberCore::Node > GetSharedBehaviorTree() const
void RefreshCanvasVisualization()
void LoadXMLFileInNewScene(const wxString &filePath)
void OnExit(wxCommandEvent &event)
void CreatePanelToggleToolbar()
wxAuiManager * m_auiManager
Central panel for managing and displaying behavior tree scenes.
Tab for editing node properties and blackboard entries.
Right sidebar panel specialized for right-side functionality.
Tab displaying the behavior tree hierarchy.
Main types header for EmberCore.