PixelLightAPI
.
|
A radio button. More...
#include <RadioButton.h>
Public Member Functions | |
PLGUI_API | RadioButton (Widget *pParent=nullptr) |
Constructor. | |
virtual PLGUI_API | ~RadioButton () |
Destructor. | |
Protected Member Functions | |
virtual void | OnDraw (Graphics &cGraphics) override |
Called to draw the widget. | |
virtual PLMath::Vector2i | OnPreferredSize (const PLMath::Vector2i &vRefSize) const override |
Called when the widget is to calculate it's preferred size. |
A radio button.
PLGUI_API PLGui::RadioButton::RadioButton | ( | Widget * | pParent = nullptr | ) |
Constructor.
[in] | pParent | Pointer to the parent widget |
virtual PLGUI_API PLGui::RadioButton::~RadioButton | ( | ) | [virtual] |
Destructor.
virtual void PLGui::RadioButton::OnDraw | ( | Graphics & | cGraphics | ) | [override, protected, virtual] |
Called to draw the widget.
[in] | cGraphics | Graphics object used for painting |
Reimplemented from PLGui::WidgetFunctions.
virtual PLMath::Vector2i PLGui::RadioButton::OnPreferredSize | ( | const PLMath::Vector2i & | vRefSize | ) | const [override, protected, 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.
|