malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Graphics
Primitives
Rectangle.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_RECTANGLE_H
5
#define MALENA_RECTANGLE_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
#include <
Malena/Graphics/Primitives/RoundedRectangle.h
>
13
14
namespace
ml
15
{
47
class
MALENA_API
Rectangle
:
public
Graphic
<ml::RoundedRectangle>
48
{
49
public
:
50
using
Graphic::Graphic
;
51
#ifdef _WIN32
52
~Rectangle
()
override
;
53
#endif
54
};
55
67
template
<
typename
MANIFEST>
68
class
RectangleWith
:
public
Rectangle
,
public
Customizable
<MANIFEST> {};
69
70
}
// namespace ml
71
72
#endif
// MALENA_RECTANGLE_H
Customizable.h
Graphic.h
RoundedRectangle.h
ml::Customizable< MANIFEST >::Customizable
Customizable()=default
ml::Graphic::Graphic
Graphic()
ml::Rectangle
A framework-integrated rectangle with optional rounded corners.
Definition
Rectangle.h:48
ml::Rectangle::Graphic
Graphic()
ml::RectangleWith
Rectangle with an attached manifest.
Definition
Rectangle.h:68
malena_export.h
MALENA_API
#define MALENA_API
Definition
malena_export.h:18
ml
Definition
Component.h:22