![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <PropertyInspectorPrefab.h>
Collaboration diagram for Olympe::PropertyInspectorPrefab:Private Member Functions | |
| void | RenderComponentInfo () |
| void | RenderPropertyGrid () |
| void | RenderAddPropertyPanel () |
| void | RenderComponentList () |
| void | OnPropertyChanged (const std::string &key, const std::string &value) |
| void | OnComponentAdded (const std::string &componentType) |
| void | OnComponentRemoved (const std::string &componentType) |
Private Attributes | |
| EntityPrefabGraphDocument * | m_document = nullptr |
| NodeId | m_selectedNodeId = InvalidNodeId |
| float | m_panelWidth = 400.0f |
| float | m_panelHeight = 600.0f |
| float | m_panelX = 0.0f |
| float | m_panelY = 0.0f |
| bool | m_showComponentInfo = true |
| bool | m_showPropertyGrid = true |
| bool | m_showAddPropertyButton = true |
| bool | m_readOnly = false |
Definition at line 10 of file PropertyInspectorPrefab.h.
| Olympe::PropertyInspectorPrefab::PropertyInspectorPrefab | ( | ) |
Definition at line 6 of file PropertyInspectorPrefab.cpp.
| Olympe::PropertyInspectorPrefab::~PropertyInspectorPrefab | ( | ) |
Definition at line 7 of file PropertyInspectorPrefab.cpp.
Definition at line 40 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| void Olympe::PropertyInspectorPrefab::AddProperty | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
Definition at line 35 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| void Olympe::PropertyInspectorPrefab::DeselectNode | ( | ) |
Definition at line 14 of file PropertyInspectorPrefab.cpp.
References Olympe::InvalidNodeId, and m_selectedNodeId.
| void Olympe::PropertyInspectorPrefab::EnableComponent | ( | const std::string & | componentType, |
| bool | enabled | ||
| ) |
Definition at line 42 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| float Olympe::PropertyInspectorPrefab::GetPanelHeight | ( | ) | const |
Definition at line 20 of file PropertyInspectorPrefab.cpp.
References m_panelHeight.
Definition at line 23 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static(), m_panelX, and m_panelY.
Here is the call graph for this function:| float Olympe::PropertyInspectorPrefab::GetPanelWidth | ( | ) | const |
Definition at line 18 of file PropertyInspectorPrefab.cpp.
References m_panelWidth.
| std::string Olympe::PropertyInspectorPrefab::GetProperty | ( | const std::string & | key | ) | const |
Definition at line 38 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| NodeId Olympe::PropertyInspectorPrefab::GetSelectedNode | ( | ) | const |
Definition at line 15 of file PropertyInspectorPrefab.cpp.
References m_selectedNodeId.
| bool Olympe::PropertyInspectorPrefab::GetShowAddPropertyButton | ( | ) | const |
Definition at line 30 of file PropertyInspectorPrefab.cpp.
References m_showAddPropertyButton.
| bool Olympe::PropertyInspectorPrefab::GetShowComponentInfo | ( | ) | const |
Definition at line 26 of file PropertyInspectorPrefab.cpp.
References m_showComponentInfo.
| bool Olympe::PropertyInspectorPrefab::GetShowPropertyGrid | ( | ) | const |
Definition at line 28 of file PropertyInspectorPrefab.cpp.
References m_showPropertyGrid.
| void Olympe::PropertyInspectorPrefab::Initialize | ( | EntityPrefabGraphDocument * | document | ) |
Definition at line 9 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static(), and m_document.
Here is the call graph for this function:| bool Olympe::PropertyInspectorPrefab::IsReadOnly | ( | ) | const |
Definition at line 33 of file PropertyInspectorPrefab.cpp.
References m_readOnly.
Definition at line 53 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
private |
Definition at line 54 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
private |
Definition at line 52 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:Definition at line 41 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:Definition at line 36 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| void Olympe::PropertyInspectorPrefab::Render | ( | ) |
Definition at line 10 of file PropertyInspectorPrefab.cpp.
References m_document.
|
private |
Definition at line 49 of file PropertyInspectorPrefab.cpp.
|
private |
Definition at line 47 of file PropertyInspectorPrefab.cpp.
|
private |
Definition at line 50 of file PropertyInspectorPrefab.cpp.
|
private |
Definition at line 48 of file PropertyInspectorPrefab.cpp.
Definition at line 13 of file PropertyInspectorPrefab.cpp.
References m_selectedNodeId.
Definition at line 19 of file PropertyInspectorPrefab.cpp.
References m_panelHeight.
Definition at line 22 of file PropertyInspectorPrefab.cpp.
Definition at line 17 of file PropertyInspectorPrefab.cpp.
References m_panelWidth.
| void Olympe::PropertyInspectorPrefab::SetProperty | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
Definition at line 37 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:Definition at line 32 of file PropertyInspectorPrefab.cpp.
References m_readOnly.
Definition at line 29 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static(), and m_showAddPropertyButton.
Here is the call graph for this function:Definition at line 25 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static(), and m_showComponentInfo.
Here is the call graph for this function:Definition at line 27 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static(), and m_showPropertyGrid.
Here is the call graph for this function:Definition at line 11 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| bool Olympe::PropertyInspectorPrefab::ValidateAllProperties | ( | ) | const |
Definition at line 45 of file PropertyInspectorPrefab.cpp.
| bool Olympe::PropertyInspectorPrefab::ValidatePropertyValue | ( | const std::string & | propertyName, |
| const std::string & | value | ||
| ) | const |
Definition at line 44 of file PropertyInspectorPrefab.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
private |
Definition at line 64 of file PropertyInspectorPrefab.h.
Referenced by Initialize(), and Render().
|
private |
Definition at line 67 of file PropertyInspectorPrefab.h.
Referenced by GetPanelHeight(), and SetPanelHeight().
|
private |
Definition at line 66 of file PropertyInspectorPrefab.h.
Referenced by GetPanelWidth(), and SetPanelWidth().
|
private |
Definition at line 68 of file PropertyInspectorPrefab.h.
Referenced by GetPanelPosition(), and SetPanelPosition().
|
private |
Definition at line 69 of file PropertyInspectorPrefab.h.
Referenced by GetPanelPosition(), and SetPanelPosition().
Definition at line 73 of file PropertyInspectorPrefab.h.
Referenced by IsReadOnly(), and SetReadOnly().
|
private |
Definition at line 65 of file PropertyInspectorPrefab.h.
Referenced by DeselectNode(), GetSelectedNode(), and SelectNode().
Definition at line 72 of file PropertyInspectorPrefab.h.
Referenced by GetShowAddPropertyButton(), and SetShowAddPropertyButton().
Definition at line 70 of file PropertyInspectorPrefab.h.
Referenced by GetShowComponentInfo(), and SetShowComponentInfo().
Definition at line 71 of file PropertyInspectorPrefab.h.
Referenced by GetShowPropertyGrid(), and SetShowPropertyGrid().