#include <MRUIRectAllocator.h>
Classes | |
struct | FindFreeRectResult |
Public Types | |
using | FindPotentiallyOverlappingRects = std::function<void( Box2f target, std::function<void( const char* name, Box2f box )> overlaps )> |
Public Member Functions | |
MRVIEWER_API | RectAllocator () |
MRVIEWER_API FindFreeRectResult | findFreeRect (Box2f preferredRect, Box2f preferredBounds, FindPotentiallyOverlappingRects findOverlaps, ImVec2 axisWeights=ImVec2(1, 1)) |
Static Public Member Functions | |
static bool | rectRectOverlap (Box2f a, Box2f b) |
using MR::UI::RectAllocator::FindPotentiallyOverlappingRects = std::function<void( Box2f target, std::function<void( const char* name, Box2f box )> overlaps )> |
MRVIEWER_API MR::UI::RectAllocator::RectAllocator | ( | ) |
|
nodiscard |
|
inlinestaticnodiscard |