52 template<
typename T,
typename S>
59 static_assert(std::is_base_of_v<Core, T>,
60 "Button<T, S>: T must be derived from ml::Core.");
76 std::optional<S> buttonSize = std::nullopt,
77 const std::string& text =
"",
78 unsigned int charSize = 30);
242 using T::getPosition;
243 using T::setFillColor;
244 using T::setOutlineColor;
245 using T::setOutlineThickness;
246 using T::getGlobalBounds;
247 using T::getLocalBounds;
249 using T::getTransform;
250 using T::getInverseTransform;
252 using T::getGeometricCenter;
254 using T::getPointCount;
259#include "../../../../src/Graphics/Base/Button.tpp"
static const sf::Font & getDefault()
Return the built-in Arial font.
Vector2< float > Vector2f