59 template<
typename T,
typename S>
62 static_assert(std::is_base_of_v<Core, T>,
63 "Button<T, S>: T must be derived from ml::Core.");
79 std::optional<S> buttonSize = std::nullopt,
80 const std::string& text =
"",
81 unsigned int charSize = 30);
256 using T::getPosition;
257 using T::setFillColor;
258 using T::setOutlineColor;
259 using T::setOutlineThickness;
260 using T::getGlobalBounds;
261 using T::getLocalBounds;
263 using T::getTransform;
264 using T::getInverseTransform;
266 using T::getGeometricCenter;
268 using T::getPointCount;
273#include "../../../../src/Graphics/Base/Button.tpp"
static const sf::Font & getDefault()
Return the built-in Arial font.
Vector2< float > Vector2f
Universal design token set applied across all Themeable components.