Loading...
Searching...
No Matches
CircleButton.h
Go to the documentation of this file.
1#ifndef CIRCLEBUTTON_H
2#define CIRCLEBUTTON_H
3
4#pragma once
5
8
9namespace ml
10{
36 class CircleButton : public Button<Circle, float>
37 {
38 using Button::Button;
39 };
40
48 template<typename MANIFEST>
49 class CircleButtonWith : public CircleButton, public virtual Customizable<MANIFEST> {};
50
51} // namespace ml
52
53#endif // CIRCLEBUTTON_H
Button(const sf::Font &font=FontManager<>::getDefault(), std::optional< S > buttonSize=std::nullopt, const std::string &text="", unsigned int charSize=30)
Construct a button with an optional size, label, and font.
A circular button with a centered text label.
CircleButton with an attached manifest.
Definition Component.h:18