5#ifndef INCLUDE_FIFECHAN_WIDGETS_TOGGLEBUTTON_HPP_
6#define INCLUDE_FIFECHAN_WIDGETS_TOGGLEBUTTON_HPP_
11#include "fifechan/platform.hpp"
12#include "fifechan/widgets/imagebutton.hpp"
39 ToggleButton(std::string
const & caption, std::string
const & group,
bool selected =
false);
41 ~ToggleButton()
override;
43 ToggleButton(ToggleButton
const &) =
delete;
44 ToggleButton& operator=(ToggleButton
const &) =
delete;
45 ToggleButton(ToggleButton&&) =
delete;
46 ToggleButton& operator=(ToggleButton&&) =
delete;
78 void setGroup(std::string
const & group);
86 std::string
const &
getGroup()
const;
114 using GroupMap = std::multimap<std::string, ToggleButton*>;
Represents a mouse event.