26#ifndef TGUI_BUTTON_HPP
27#define TGUI_BUTTON_HPP
29#include <TGUI/Widgets/ButtonBase.hpp>
42 typedef std::shared_ptr<Button>
Ptr;
43 typedef std::shared_ptr<const Button>
ConstPtr;
53 Button(
const char* typeName =
"Button",
bool initRenderer =
true);
81 void leftMousePressed(
Vector2f pos)
override;
86 void leftMouseReleased(
Vector2f pos)
override;
91 void leftMouseButtonNoLongerDown()
override;
131 return std::make_shared<Button>(*
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