22 #ifndef FIFE_GUICHAN_ADDON_TOGGLEBUTTON_H
23 #define FIFE_GUICHAN_ADDON_TOGGLEBUTTON_H
30 #include <guichan.hpp>
31 #include <guichan/actionlistener.hpp>
58 ToggleButton(Image *up_image = 0, Image *down_image = 0, Image *hover_image = 0,
const std::string& caption =
"",
const std::string& group =
"");
68 void draw(Graphics *graphics);
151 void setGroup(
const std::string &group);
159 const std::string &
getGroup()
const;
168 void action(
const ActionEvent& actionEvent);
199 typedef std::multimap<std::string, ToggleButton *>
GroupMap;