![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <PropertyEditorPanel.h>
Collaboration diagram for Olympe::PropertyEditorPanel:Public Member Functions | |
| PropertyEditorPanel () | |
| ~PropertyEditorPanel () | |
| void | Initialize () |
| void | Render (EntityPrefabGraphDocument *document) |
| void | SetSelectedNode (NodeId nodeId) |
| NodeId | GetSelectedNode () const |
| void | ClearSelection () |
| bool | HasSelectedNode () const |
| void | ApplyChanges () |
Private Member Functions | |
| void | RenderNodeInfo () |
| void | RenderNodeProperties () |
Private Attributes | |
| NodeId | m_selectedNodeId = InvalidNodeId |
| EntityPrefabGraphDocument * | m_document = nullptr |
| std::unique_ptr< Olympe::BehaviorTreeFilePickerModal > | m_behaviorTreeModal |
Definition at line 15 of file PropertyEditorPanel.h.
| Olympe::PropertyEditorPanel::PropertyEditorPanel | ( | ) |
Definition at line 8 of file PropertyEditorPanel.cpp.
References m_behaviorTreeModal.
| Olympe::PropertyEditorPanel::~PropertyEditorPanel | ( | ) |
Definition at line 13 of file PropertyEditorPanel.cpp.
| void Olympe::PropertyEditorPanel::ApplyChanges | ( | ) |
Definition at line 68 of file PropertyEditorPanel.cpp.
References Olympe::InvalidNodeId, m_document, m_selectedNodeId, and Olympe::EntityPrefabGraphDocument::SetDirty().
Referenced by RenderNodeProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::PropertyEditorPanel::ClearSelection | ( | ) |
Definition at line 58 of file PropertyEditorPanel.cpp.
References Olympe::InvalidNodeId, and m_selectedNodeId.
| NodeId Olympe::PropertyEditorPanel::GetSelectedNode | ( | ) | const |
Definition at line 53 of file PropertyEditorPanel.cpp.
References m_selectedNodeId.
| bool Olympe::PropertyEditorPanel::HasSelectedNode | ( | ) | const |
Definition at line 63 of file PropertyEditorPanel.cpp.
References Olympe::InvalidNodeId, and m_selectedNodeId.
| void Olympe::PropertyEditorPanel::Initialize | ( | ) |
Definition at line 15 of file PropertyEditorPanel.cpp.
References SYSTEM_LOG.
| void Olympe::PropertyEditorPanel::Render | ( | EntityPrefabGraphDocument * | document | ) |
Definition at line 20 of file PropertyEditorPanel.cpp.
References GetComponentTypeID_Static(), Olympe::InvalidNodeId, m_document, m_selectedNodeId, RenderNodeInfo(), and RenderNodeProperties().
Referenced by Olympe::EntityPrefabRenderer::RenderRightPanelTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 76 of file PropertyEditorPanel.cpp.
References GetComponentTypeID_Static(), Olympe::EntityPrefabGraphDocument::GetNode(), m_document, and m_selectedNodeId.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 88 of file PropertyEditorPanel.cpp.
References ApplyChanges(), GetComponentTypeID_Static(), Olympe::EntityPrefabGraphDocument::GetNode(), m_behaviorTreeModal, m_document, m_selectedNodeId, and SYSTEM_LOG.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 47 of file PropertyEditorPanel.cpp.
References m_selectedNodeId.
Referenced by Olympe::EntityPrefabRenderer::RenderRightPanelTabs().
Here is the caller graph for this function:
|
private |
Definition at line 36 of file PropertyEditorPanel.h.
Referenced by PropertyEditorPanel(), and RenderNodeProperties().
|
private |
Definition at line 35 of file PropertyEditorPanel.h.
Referenced by ApplyChanges(), Render(), RenderNodeInfo(), and RenderNodeProperties().
|
private |
Definition at line 34 of file PropertyEditorPanel.h.
Referenced by ApplyChanges(), ClearSelection(), GetSelectedNode(), HasSelectedNode(), Render(), RenderNodeInfo(), RenderNodeProperties(), and SetSelectedNode().