1#ifndef YAZE_APP_EDITOR_LAYOUT_LAYOUT_DESIGNER_SPLIT_BOUNDARY_DRAG_H_
2#define YAZE_APP_EDITOR_LAYOUT_LAYOUT_DESIGNER_SPLIT_BOUNDARY_DRAG_H_
6#include "imgui/imgui.h"
10namespace layout_designer {
constexpr float kMaxSplitRatio
constexpr float kMinSplitRatio
SplitBoundaryHit HitTestSplitBoundary(const DockTree &tree, const DockTreeLayout &layout, ImVec2 mouse, float tolerance)
float ComputeDraggedSplitRatio(float start_ratio, float axis_delta_px, float axis_size_px)
constexpr float kSplitBoundaryTolerance
Represents a dock node in the layout tree.
const DockNode * split_node