#include <dock_tree.h>
Public Member Functions | |
| DockTree () | |
| DockTree (std::string name) | |
| DockTree | Clone () const |
| bool | Validate (std::string *error) const |
| const DockNode * | FindNode (DockNodeId id) const |
| DockNode * | FindNode (DockNodeId id) |
Public Attributes | |
| std::string | name |
| std::string | description |
| std::uint64_t | schema_version = 2 |
| std::unique_ptr< DockNode > | root |
Definition at line 108 of file dock_tree.h.
| yaze::editor::layout_designer::DockTree::DockTree | ( | ) |
Definition at line 139 of file dock_tree.cc.
|
explicit |
Definition at line 141 of file dock_tree.cc.
| DockTree yaze::editor::layout_designer::DockTree::Clone | ( | ) | const |
Definition at line 144 of file dock_tree.cc.
References description, name, root, and schema_version.
Referenced by yaze::editor::layout_designer::TreeUndoStack::Push().
| bool yaze::editor::layout_designer::DockTree::Validate | ( | std::string * | error | ) | const |
Definition at line 222 of file dock_tree.cc.
References root.
Referenced by yaze::editor::LayoutManager::ApplyDockTree().
| const DockNode * yaze::editor::layout_designer::DockTree::FindNode | ( | DockNodeId | id | ) | const |
Definition at line 251 of file dock_tree.cc.
References yaze::editor::layout_designer::kInvalidDockNodeId, and root.
Referenced by yaze::editor::layout_designer::LayoutDesignerPanel::Draw(), yaze::editor::layout_designer::LayoutDesignerPanel::DrawPropertiesColumn(), and FindNode().
| DockNode * yaze::editor::layout_designer::DockTree::FindNode | ( | DockNodeId | id | ) |
Definition at line 257 of file dock_tree.cc.
References FindNode().

| std::string yaze::editor::layout_designer::DockTree::name |
Definition at line 109 of file dock_tree.h.
Referenced by yaze::editor::layout_designer::LayoutDesignerPanel::ApplyCurrentTreeToLiveDockspace(), Clone(), yaze::editor::layout_designer::DockTreeFromJson(), yaze::editor::layout_designer::DockTreeToJson(), yaze::editor::layout_designer::LayoutDesignerPanel::Draw(), yaze::editor::layout_designer::LayoutDesignerPanel::DrawFileRow(), yaze::editor::layout_designer::LayoutDesignerPanel::DrawPropertiesColumn(), yaze::editor::layout_designer::LayoutDesignerPanel::DrawSaveAsPopup(), yaze::editor::layout_designer::LayoutDesignerPanel::SaveCurrentTreeToNamedLayouts(), yaze::editor::layout_designer::LayoutDesignerPanel::SaveOrSaveAs(), and yaze::editor::layout_designer::anonymous_namespace{layout_designer_panel.cc}::TreeNeedsName().
| std::string yaze::editor::layout_designer::DockTree::description |
Definition at line 110 of file dock_tree.h.
Referenced by Clone(), yaze::editor::layout_designer::DockTreeFromJson(), yaze::editor::layout_designer::DockTreeToJson(), and yaze::editor::layout_designer::LayoutDesignerPanel::DrawPropertiesColumn().
| std::uint64_t yaze::editor::layout_designer::DockTree::schema_version = 2 |
Definition at line 114 of file dock_tree.h.
Referenced by Clone(), and yaze::editor::layout_designer::DockTreeFromJson().
| std::unique_ptr<DockNode> yaze::editor::layout_designer::DockTree::root |
Definition at line 115 of file dock_tree.h.
Referenced by yaze::editor::LayoutManager::ApplyDockTree(), yaze::editor::layout_designer::ApplyDropSuggestion(), yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::LayoutManager::CaptureDockTree(), Clone(), yaze::editor::layout_designer::ComputeLayout(), yaze::editor::layout_designer::DockTreeFromJson(), yaze::editor::layout_designer::DockTreeToJson(), FindNode(), yaze::editor::layout_designer::HitTestSplitBoundary(), yaze::editor::layout_designer::RenderDockTree(), and Validate().