31#ifndef CRAB_TOGGLEBUTTON_H
32#define CRAB_TOGGLEBUTTON_H
34#include "crab/ui/button.h"
61 void load(rapidxml::xml_node<char> *node);
62 void draw(
const int &xOffset = 0,
const int &yOffset = 0,
Rect *clip =
nullptr);
64 ButtonAction handleEvents(
const Common::Event &event,
const int &xOffset = 0,
const int &yOffset = 0);
Definition: Rectangle.h:42