![]() |
Ember
|
Dialog for creating and configuring BehaviorTree projects. More...
#include <BehaviorTreeProjectDialog.h>
Classes | |
| struct | ClickableItem |
Public Member Functions | |
| BehaviorTreeProjectDialog (wxWindow *parent, std::shared_ptr< EmberCore::BehaviorTreeProject > project=nullptr) | |
| Construct a new dialog for creating/editing a project. | |
| ~BehaviorTreeProjectDialog () | |
| std::shared_ptr< EmberCore::BehaviorTreeProject > | GetProject () const |
| Get the configured project (after dialog is closed with OK) | |
| bool | IsProjectValid () const |
| Check if the project configuration is valid. | |
Private Types | |
| enum | { ID_PROJECT_NAME = 1000 , ID_PROJECT_DESCRIPTION , ID_PARSER_PROFILE , ID_RESOURCE_LIST , ID_ADD_FILES , ID_ADD_FOLDER , ID_REMOVE_FILES , ID_CLEAR_FILES , ID_VALIDATE , ID_REFRESH_PREVIEW , ID_CREATE , ID_SAVE , ID_PULSE_TIMER } |
Private Member Functions | |
| void | CreateLayout () |
| wxPanel * | CreateLeftPanel (wxWindow *parent) |
| wxPanel * | CreateRightPanel (wxWindow *parent) |
| wxPanel * | CreateResourcesTab (wxNotebook *notebook) |
| wxPanel * | CreateValidationTab (wxNotebook *notebook) |
| wxPanel * | CreatePreviewTab (wxNotebook *notebook) |
| wxPanel * | CreateBlackboardTab (wxNotebook *notebook) |
| void | OnProjectNameChanged (wxCommandEvent &event) |
| void | OnDescriptionChanged (wxCommandEvent &event) |
| void | OnProfileSelected (wxCommandEvent &event) |
| void | OnAddFiles (wxCommandEvent &event) |
| void | OnAddFolder (wxCommandEvent &event) |
| void | OnRemoveFiles (wxCommandEvent &event) |
| void | OnClearFiles (wxCommandEvent &event) |
| void | OnResourceSelected (wxListEvent &event) |
| void | OnResourceActivated (wxListEvent &event) |
| void | OnValidate (wxCommandEvent &event) |
| void | OnRefreshPreview (wxCommandEvent &event) |
| void | OnCreate (wxCommandEvent &event) |
| void | OnCancel (wxCommandEvent &event) |
| void | OnSave (wxCommandEvent &event) |
| void | LoadProfileList () |
| void | UpdateResourceList () |
| void | UpdateValidationReport () |
| void | UpdateTreePreview () |
| void | ValidateAndUpdateUI () |
| void | UpdateCreateButtonState () |
| void | GenerateColoredValidationReport (const EmberCore::ProjectValidationReport &report) |
| void | DrawFileStructureDiagram (wxDC &dc) |
| void | DrawBlackboardDiagram (wxDC &dc) |
| void | OnStructurePanelClick (wxMouseEvent &event) |
| void | LoadXMLPreview (const std::string &filepath, int highlightLine=-1) |
| void | LoadTreePreview (const std::string &filepath, const std::string &treeId) |
| void | LoadBlackboardPreview (const std::string &filepath, const std::string &blackboardId) |
| void | OnPreviewFilterChanged (wxCommandEvent &event) |
| void | UpdateBlackboardTab () |
| bool | IsValidProjectName (const wxString &name) const |
| void | OnPulseTimer (wxTimerEvent &event) |
| void | UpdateFieldHighlighting () |
| wxColour | InterpolateColor (const wxColour &color1, const wxColour &color2, float t) |
| wxString | GetResourceStatusIcon (bool valid) const |
| void | SetResourceItemStatus (long item, bool valid, int treeCount) |
| void | PopulateFromProject () |
| wxDECLARE_EVENT_TABLE () | |
Static Private Attributes | |
| static wxString | s_lastUsedDirectory |
Dialog for creating and configuring BehaviorTree projects.
This dialog provides an interface for:
Definition at line 31 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 201 of file BehaviorTreeProjectDialog.h.
|
explicit |
Construct a new dialog for creating/editing a project.
| parent | Parent window |
| project | Existing project to edit (nullptr for new project) |
| BehaviorTreeProjectDialog::~BehaviorTreeProjectDialog | ( | ) |
Definition at line 111 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 545 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 122 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 170 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 355 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 255 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 237 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 312 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 578 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1420 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1275 of file BehaviorTreeProjectDialog.cpp.
|
inline |
Get the configured project (after dialog is closed with OK)
Definition at line 45 of file BehaviorTreeProjectDialog.h.
|
private |
|
private |
Definition at line 2395 of file BehaviorTreeProjectDialog.cpp.
|
inline |
Check if the project configuration is valid.
Definition at line 50 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 2349 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 3069 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 841 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2980 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2915 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 935 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1000 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2347 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1080 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2296 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 913 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1157 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 917 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 908 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2365 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1155 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1064 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1091 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1089 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2342 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2410 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1153 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 866 of file BehaviorTreeProjectDialog.cpp.
|
private |
|
private |
Definition at line 572 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2287 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 2375 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 885 of file BehaviorTreeProjectDialog.cpp.
|
private |
Definition at line 1387 of file BehaviorTreeProjectDialog.cpp.
|
private |
|
private |
Definition at line 1164 of file BehaviorTreeProjectDialog.cpp.
|
private |
|
private |
Definition at line 132 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 133 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 173 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 177 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 135 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 170 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 176 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 147 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 194 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 120 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 119 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 182 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 180 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 193 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 128 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 125 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 118 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 124 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 123 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 192 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 191 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 158 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 134 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 136 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 185 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 131 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 196 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 154 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 156 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 152 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 157 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 153 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 155 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 159 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 140 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 142 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 143 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 144 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 139 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 181 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 141 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 149 of file BehaviorTreeProjectDialog.h.
|
private |
Definition at line 148 of file BehaviorTreeProjectDialog.h.
|
staticprivate |
Definition at line 188 of file BehaviorTreeProjectDialog.h.