26#ifndef TGUI_TOGGLE_BUTTON_HPP
27#define TGUI_TOGGLE_BUTTON_HPP
30#include <TGUI/Widgets/ButtonBase.hpp>
43 typedef std::shared_ptr<ToggleButton>
Ptr;
44 typedef std::shared_ptr<const ToggleButton>
ConstPtr;
54 ToggleButton(
const char* typeName =
"ToggleButton",
bool initRenderer =
true);
97 void leftMouseReleased(
Vector2f pos)
override;
125 return std::make_shared<ToggleButton>(*
this);
Signal to which the user can subscribe to get callbacks from.
Definition Signal.hpp:58
Wrapper class to store strings.
Definition String.hpp:79
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:36
KeyPressed event parameters.
Definition Event.hpp:167