6#include <unordered_map>
8#include <wx/scrolwin.h>
48 TreeWidget(wxWindow *parent, std::shared_ptr<EmberCore::BehaviorTree> tree =
nullptr);
116 bool SaveLayout(
const wxString &filename)
const;
118 wxBitmap
ExportAsImage(
const wxSize &size = wxDefaultSize)
const;
134 virtual void OnPaint(wxPaintEvent &event);
135 virtual void OnSize(wxSizeEvent &event);
140 virtual void OnMouseUp(wxMouseEvent &event);
146 virtual void OnKeyDown(wxKeyEvent &event);
147 virtual void OnChar(wxKeyEvent &event);
185 wxPoint
ScreenToTree(
const wxPoint &screen_point)
const;
196 std::unordered_map<EmberCore::Node *, std::unique_ptr<EmberForge::NodeWidget>>
node_widgets_;
262 DECLARE_EVENT_TABLE()
Represents a node in a behavior tree structure.