3 #include <BLIB/Interfaces/GUI/Renderer/Renderer.hpp>
9 using namespace bl::gui;
11 RadioButton::Group* group) {
15 HighlightRadioButton::HighlightRadioButton(Element::Ptr c, RadioButton::Group* g)
16 : RadioButton(c,
"", g) {
20 void HighlightRadioButton::onAcquisition() { ToggleButton::onAcquisition(); }
22 bl::gui::rdr::Component* HighlightRadioButton::doPrepareRender(bl::gui::rdr::Renderer& renderer) {
23 return renderer.createComponent<HighlightRadioButton>(*this);
All classes and functionality used for implementing the game editor.
Helper GUI component that functions as a RadioButton but also renders a conspicuous highlight when it...
static Ptr create(bl::gui::Element::Ptr child, bl::gui::RadioButton::Group *group=nullptr)
Creates a new HighlightRadioButton.
std::shared_ptr< HighlightRadioButton > Ptr
Pointer to a HighlightRadioButton.