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