PixelLightAPI
.
|
#include <LayoutBox.h>
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::Vector2i * | m_pSizes |
PLCore::uint32 | m_nWidgets |
Box layout.
PLGUI_API PLGui::LayoutBox::LayoutBox | ( | EOrientation | nOrientation = Horizontal | ) |
Constructor.
[in] | nOrientation | Orientation |
virtual PLGUI_API PLGui::LayoutBox::~LayoutBox | ( | ) | [virtual] |
Destructor.
virtual void PLGui::LayoutBox::ApplyLayout | ( | ) | [override, protected, virtual] |
Reimplemented from PLGui::Layout.
EOrientation PLGui::LayoutBox::m_nOrientation [protected] |
Box orientation (horizontal or vertical)
PLMath::Vector2i* PLGui::LayoutBox::m_pSizes [protected] |
Data space used for calculations
PLCore::uint32 PLGui::LayoutBox::m_nWidgets [protected] |
Number of widgets that are in the layout
|