Loading...
Searching...
No Matches
ConvexButton.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_CONVEXBUTTON_H
5#define MALENA_CONVEXBUTTON_H
6
7#pragma once
8
13
14namespace ml
15{
44 class MALENA_API ConvexButton : public Button<Convex, std::size_t>
45 {
46 public:
47 using Button::Button;
48#ifdef _WIN32
49 ~ConvexButton() override;
50#endif
51 };
52
60 template<typename MANIFEST>
61 class ConvexButtonWith : public ConvexButton, public Customizable<MANIFEST> {};
62
63} // namespace ml
64
65#endif // MALENA_CONVEXBUTTON_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 convex polygon 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.
ConvexButton with an attached manifest.
#define MALENA_API
Definition Component.h:22