malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Graphics
Primitives
Circle.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_CIRCLE_H
5
#define MALENA_CIRCLE_H
6
7
#pragma once
8
9
#include <
Malena/Core/malena_export.h
>
10
#include <
Malena/Graphics/Base/Graphic.h
>
11
#include <
Malena/Traits/Base/Customizable.h
>
12
13
namespace
ml
14
{
42
class
MALENA_API
Circle
:
public
Graphic
<sf::CircleShape>
43
{
44
public
:
45
using
Graphic::Graphic
;
46
#ifdef _WIN32
47
~Circle
()
override
;
48
#endif
49
};
50
58
template
<
typename
MANIFEST>
59
class
CircleWith
:
public
Circle
,
public
Customizable
<MANIFEST> {};
60
61
}
// namespace ml
62
63
#endif
// MALENA_CIRCLE_H
Customizable.h
Graphic.h
ml::Circle
A framework-integrated circle shape.
Definition
Circle.h:43
ml::Circle::Graphic
Graphic()
ml::CircleWith
Circle with an attached manifest.
Definition
Circle.h:59
ml::Customizable< MANIFEST >::Customizable
Customizable()=default
ml::Graphic::Graphic
Graphic()
malena_export.h
MALENA_API
#define MALENA_API
Definition
malena_export.h:18
ml
Definition
Component.h:22