PixelLightAPI  .
Public Member Functions | Protected Member Functions | Protected Attributes
PLGui::LayoutBox Class Reference

Box layout. More...

#include <LayoutBox.h>

Inheritance diagram for PLGui::LayoutBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLGUI_API LayoutBox (EOrientation nOrientation=Horizontal)
 Constructor.
virtual PLGUI_API ~LayoutBox ()
 Destructor.

Protected Member Functions

virtual void ApplyLayout () override

Protected Attributes

EOrientation m_nOrientation
PLMath::Vector2im_pSizes
PLCore::uint32 m_nWidgets

Detailed Description

Box layout.


Constructor & Destructor Documentation

PLGUI_API PLGui::LayoutBox::LayoutBox ( EOrientation  nOrientation = Horizontal)

Constructor.

Parameters:
[in]nOrientationOrientation
virtual PLGUI_API PLGui::LayoutBox::~LayoutBox ( ) [virtual]

Destructor.


Member Function Documentation

virtual void PLGui::LayoutBox::ApplyLayout ( ) [override, protected, virtual]

Reimplemented from PLGui::Layout.


Member Data Documentation

Box orientation (horizontal or vertical)

Data space used for calculations

PLCore::uint32 PLGui::LayoutBox::m_nWidgets [protected]

Number of widgets that are in the layout


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


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:32
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported