1#ifndef YAZE_APP_EDITOR_LAYOUT_LAYOUT_DESIGNER_DROP_ZONE_SUGGESTER_H_
2#define YAZE_APP_EDITOR_LAYOUT_LAYOUT_DESIGNER_DROP_ZONE_SUGGESTER_H_
7#include "imgui/imgui.h"
8#include "imgui/imgui_internal.h"
12namespace layout_designer {
17 enum class Kind : std::uint8_t {
DropSuggestion SuggestDrop(const ImRect &leaf_rect, ImVec2 mouse)
ImRect ComputeDropPreviewRect(const ImRect &leaf_rect, const DropSuggestion &suggestion)
constexpr float kDropEdgeFraction
constexpr float kDropSplitRatio
DockNode * ApplyDropSuggestion(DockTree *tree, DockNode *leaf, const DropSuggestion &suggestion, PanelEntry panel)
Represents a dock node in the layout tree.