Loading...
Searching...
No Matches
OverlayWidget.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith.
2// Malena Framework — Licensed under PolyForm Noncommercial 1.0.0; commercial use requires a paid license. See LICENSE.
3
4#ifndef MALENA_OVERLAYWIDGET_H
5#define MALENA_OVERLAYWIDGET_H
6
7#pragma once
8
10#include <Malena/Core/Core.h>
11
12namespace ml
13{
36 {
37 enum class Hook { REGISTER };
38
39 virtual ml::Core& getOverlay() = 0;
40
41 virtual ~OverlayWidget() = default;
42 };
43
44} // namespace ml
45
46#endif // MALENA_OVERLAYWIDGET_H
Virtual base class for all Malena framework objects.
Definition Core.h:97
#define MALENA_API
Definition Component.h:22
Interface for components that provide a drawable overlay layer.
virtual ~OverlayWidget()=default
virtual ml::Core & getOverlay()=0