31 #ifndef CRAB_TOGGLEBUTTON_H 32 #define CRAB_TOGGLEBUTTON_H 34 #include "crab/ui/button.h" 38 namespace pyrodactyl {
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);
71 #endif // CRAB_TOGGLEBUTTON_H Definition: Rectangle.h:42
Definition: moveeffect.h:37