Loading...
Searching...
No Matches
CircleButton.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4#ifndef MALENA_CIRCLEBUTTON_H
5#define MALENA_CIRCLEBUTTON_H
6
7#pragma once
8
12
13namespace ml
14{
40 class MALENA_API CircleButton : public Button<Circle, float>
41 {
42 public:
43 using Button::Button;
44#ifdef _WIN32
45 ~CircleButton() override;
46#endif
47 };
48
56 template<typename MANIFEST>
57 class CircleButtonWith : public CircleButton, public virtual Customizable<MANIFEST> {};
58
59} // namespace ml
60
61#endif // MALENA_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.
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.
CircleButton with an attached manifest.
#define MALENA_API
Definition Component.h:22