5#ifndef INCLUDE_FIFECHAN_WIDGETS_RADIOBUTTON_HPP_
6#define INCLUDE_FIFECHAN_WIDGETS_RADIOBUTTON_HPP_
11#include "fifechan/platform.hpp"
12#include "fifechan/widgets/checkbox.hpp"
39 RadioButton(std::string
const & caption, std::string
const & group,
bool selected =
false);
41 ~RadioButton()
override;
43 RadioButton(RadioButton
const &) =
delete;
44 RadioButton& operator=(RadioButton
const &) =
delete;
45 RadioButton(RadioButton&&) =
delete;
46 RadioButton& operator=(RadioButton&&) =
delete;
56 void setGroup(std::string
const & group);
64 std::string
const &
getGroup()
const;
80 using GroupMap = std::multimap<std::string, RadioButton*>;
An implementation of a check box where a user can select or deselect the check box and where the stat...