PixelLightAPI
.
|
Container widget that displays a raised or sunken panel. More...
#include <Panel.h>
Public Member Functions | |
virtual PLGUI_API void | OnDraw (Graphics &cGraphics) override |
Called to draw the widget. | |
virtual PLGUI_API PLMath::Vector2i | OnPreferredSize (const PLMath::Vector2i &vRefSize) const override |
Called when the widget is to calculate it's preferred size. | |
virtual PLGUI_API void | OnAdjustContent () override |
Called when the widget content has to be adjusted. | |
Public Attributes | |
EBorderStyle | m_nBorderStyle |
Container widget that displays a raised or sunken panel.
virtual PLGUI_API void PLGui::Panel::OnDraw | ( | Graphics & | cGraphics | ) | [override, virtual] |
Called to draw the widget.
[in] | cGraphics | Graphics object used for painting |
Reimplemented from PLGui::WidgetFunctions.
virtual PLGUI_API PLMath::Vector2i PLGui::Panel::OnPreferredSize | ( | const PLMath::Vector2i & | vRefSize | ) | const [override, virtual] |
Called when the widget is to calculate it's preferred size.
[in] | vRefSize | Precalculated reference size, can be (-1, -1) if no reference size is available |
Reimplemented from PLGui::Widget.
virtual PLGUI_API void PLGui::Panel::OnAdjustContent | ( | ) | [override, virtual] |
Called when the widget content has to be adjusted.
Reimplemented from PLGui::ContainerWidget.
|