24#include <guichan/widgets/checkbox.hpp>
34 CheckBox(
const std::string &caption,
bool selected =
false);
void drawBox(gcn::Graphics *graphics) override
Overridden because box is drawn in CheckBox::draw.
void mouseEntered(gcn::MouseEvent &event) override
Called when the mouse enteres the widget area.
void draw(gcn::Graphics *graphics) override
Draws the caption, then calls drawBox to draw the check box.
void mouseExited(gcn::MouseEvent &event) override
Called when the mouse leaves the widget area.