yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
split_boundary_drag.h File Reference
Include dependency graph for split_boundary_drag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::layout_designer::SplitBoundaryHit
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::layout_designer
 

Functions

SplitBoundaryHit yaze::editor::layout_designer::HitTestSplitBoundary (const DockTree &tree, const DockTreeLayout &layout, ImVec2 mouse, float tolerance)
 
float yaze::editor::layout_designer::ComputeDraggedSplitRatio (float start_ratio, float axis_delta_px, float axis_size_px)
 

Variables

constexpr float yaze::editor::layout_designer::kMinSplitRatio = 0.05f
 
constexpr float yaze::editor::layout_designer::kMaxSplitRatio = 0.95f
 
constexpr float yaze::editor::layout_designer::kSplitBoundaryTolerance = 4.0f