- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::ULayoutManager Class Reference

The layout manager handles the size and position of child widgets of a container. More...

#include <ulayoutmanager.hpp>

Inheritance diagram for ufo::ULayoutManager:

ufo::UObject ufo::UCollectable ufo::UBorderLayout ufo::UBoxLayout ufo::UFlowLayout List of all members.

Public Member Functions

virtual UDimension getPreferredLayoutSize (const UWidget *container, const UDimension &maxSize) const =0
virtual UDimension getPreferredLayoutSize (const UWidget *container) const
virtual void layoutContainer (const UWidget *container)=0
virtual UDimension getMinimumLayoutSize (const UWidget *) const

Detailed Description

The layout manager handles the size and position of child widgets of a container.

Author:
Johannes Schmidt


Member Function Documentation

virtual UDimension ufo::ULayoutManager::getMinimumLayoutSize const UWidget  )  const [inline, virtual]
 

Deprecated:

virtual UDimension ufo::ULayoutManager::getPreferredLayoutSize const UWidget container  )  const [inline, virtual]
 

virtual UDimension ufo::ULayoutManager::getPreferredLayoutSize const UWidget container,
const UDimension maxSize
const [pure virtual]
 

Returns:
The preferred size of the container using the given maximum dimension.

Implemented in ufo::UBorderLayout, ufo::UBoxLayout, and ufo::UFlowLayout.

virtual void ufo::ULayoutManager::layoutContainer const UWidget container  )  [pure virtual]
 

Relayouts all child widgets within the given container.

Implemented in ufo::UBorderLayout, ufo::UBoxLayout, and ufo::UFlowLayout.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt