Rose
Public Types | Public Member Functions | Static Public Attributes | Static Protected Member Functions | Protected Attributes | List of all members
rose::LayoutManager Class Referenceabstract

A pure virtual base class for layout managers. More...

#include <Visual.h>

Inheritance diagram for rose::LayoutManager:
Inheritance graph
[legend]

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}
 

Detailed Description

A pure virtual base class for layout managers.


The documentation for this class was generated from the following file: