Rose
|
A pure virtual base class for layout managers. More...
#include <Visual.h>
Public Types | |
using | Itr = Container::iterator |
Public Member Functions | |
virtual Rectangle | layoutContent (gm::Context &context, const Rectangle &screenRect, LayoutManager::Itr first, LayoutManager::Itr last)=0 |
Layout the contents of the associated manager. | |
size_t | maximumContent () const |
Get the maximum content of the LayoutManager. | |
Static Public Attributes | |
static constexpr size_t | UnlimitedContent = std::numeric_limits<size_t>::max() |
The value for 'unlimited' managed objects. | |
Static Protected Member Functions | |
static Rectangle | getScreenRectangle (std::shared_ptr< Visual > &visual) |
Get the screen rectangle of a Visual. | |
Protected Attributes | |
size_t | mMaxContent {UnlimitedContent} |
A pure virtual base class for layout managers.