25#ifndef TGUI_BUTTON_HPP
26#define TGUI_BUTTON_HPP
28#include <TGUI/Widgets/ButtonBase.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
41 using Ptr = std::shared_ptr<Button>;
42 using ConstPtr = std::shared_ptr<const Button>;
44 static constexpr const char StaticWidgetType[] =
"Button";
53 Button(
const char* typeName = StaticWidgetType,
bool initRenderer =
true);
81 void leftMouseReleased(
Vector2f pos)
override;
86 void leftMouseButtonNoLongerDown()
override;
Signal to which the user can subscribe to get callbacks from.
Definition Signal.hpp:61
Wrapper class to store strings.
Definition String.hpp:96
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38
KeyPressed event parameters.
Definition Event.hpp:168