#include <MRUIRectAllocator.h>
Inheritance diagram for MR::UI::WindowRectAllocator:Public Member Functions | |
| MRVIEWER_API void | setFreeNextWindowPos (const char *expectedWindowName, ImVec2 defaultPos, ImGuiCond cond=ImGuiCond_Appearing, ImVec2 pivot=ImVec2()) |
| MRVIEWER_API void | invalidateClosedWindows () |
Public Member Functions inherited from MR::UI::RectAllocator | |
| MRVIEWER_API | RectAllocator () |
| MRVIEWER_API FindFreeRectResult | findFreeRect (Box2f preferredRect, Box2f preferredBounds, FindPotentiallyOverlappingRects findOverlaps, ImVec2 axisWeights=ImVec2(1, 1)) |
Additional Inherited Members | |
Public Types inherited from MR::UI::RectAllocator | |
| using | FindPotentiallyOverlappingRects = std::function<void( Box2f target, std::function<void( const char* name, Box2f box )> overlaps )> |
Static Public Member Functions inherited from MR::UI::RectAllocator | |
| static bool | rectRectOverlap (Box2f a, Box2f b) |
| MRVIEWER_API void MR::UI::WindowRectAllocator::invalidateClosedWindows | ( | ) |
| MRVIEWER_API void MR::UI::WindowRectAllocator::setFreeNextWindowPos | ( | const char * | expectedWindowName, |
| ImVec2 | defaultPos, | ||
| ImGuiCond | cond = ImGuiCond_Appearing, | ||
| ImVec2 | pivot = ImVec2() ) |