1#ifndef YAZE_APP_EDITOR_LAYOUT_LAYOUT_DESIGNER_DOCK_TREE_RENDERER_H_
2#define YAZE_APP_EDITOR_LAYOUT_LAYOUT_DESIGNER_DOCK_TREE_RENDERER_H_
4#include "absl/container/flat_hash_map.h"
6#include "imgui/imgui.h"
7#include "imgui/imgui_internal.h"
11namespace layout_designer {
34 const DockNode* selected, ImDrawList* dl);
constexpr float kMinCellSize
void RenderDockTree(const DockTree &tree, const DockTreeLayout &layout, const DockNode *selected, ImDrawList *dl)
DockTreeLayout ComputeLayout(const DockTree &tree, const ImRect &viewport)
Represents a dock node in the layout tree.
absl::flat_hash_map< const DockNode *, ImRect > node_rects