Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Types | Public Member Functions | Static Public Member Functions | List of all members
editor::component::HighlightRadioButton Class Reference

Helper GUI component that functions as a RadioButton but also renders a conspicuous highlight when it is active. More...

#include <HighlightRadioButton.hpp>

+ Inheritance diagram for editor::component::HighlightRadioButton:

Public Types

using Ptr = std::shared_ptr< HighlightRadioButton >
 Pointer to a HighlightRadioButton. More...
 

Public Member Functions

virtual ~HighlightRadioButton ()=default
 Destroy the Highlight Radio Button. More...
 

Static Public Member Functions

static Ptr create (bl::gui::Element::Ptr child, bl::gui::RadioButton::Group *group=nullptr)
 Creates a new HighlightRadioButton. More...
 

Detailed Description

Helper GUI component that functions as a RadioButton but also renders a conspicuous highlight when it is active.

Definition at line 16 of file HighlightRadioButton.hpp.

Member Typedef Documentation

◆ Ptr

Pointer to a HighlightRadioButton.

Definition at line 19 of file HighlightRadioButton.hpp.

Constructor & Destructor Documentation

◆ ~HighlightRadioButton()

virtual editor::component::HighlightRadioButton::~HighlightRadioButton ( )
virtualdefault

Destroy the Highlight Radio Button.

Member Function Documentation

◆ create()

HighlightRadioButton::Ptr editor::component::HighlightRadioButton::create ( bl::gui::Element::Ptr  child,
bl::gui::RadioButton::Group *  group = nullptr 
)
static

Creates a new HighlightRadioButton.

Parameters
childChild element to use for button display
groupRadio group to be a part of
Returns
Ptr The newly created HighlightRadioButton

Definition at line 10 of file HighlightRadioButton.cpp.


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