Potato Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
WidgetElement.hpp
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
Game/UI/UIElement.hpp
"
5
#include "
Core/Event/Tickable.hpp
"
6
10
struct
WidgetElement
:
public
Tickable,
public
UIElement
11
{
12
virtual
const
char
* TYPE()
const
= 0;
// TODO: find way to factorize (macros?) - refer to Archive constructors
13
14
virtual
~WidgetElement
() =
default
;
15
16
protected
:
17
// virtual void Tick(float dt) override;
18
19
20
};
Tickable.hpp
UIElement.hpp
UIElement
Wrapper for elements that can be rendered on screen.
Definition
UIElement.hpp:12
WidgetElement
Wrapper for specialized sub-element that can be rendered by a Widget.
Definition
WidgetElement.hpp:11
Game
UI
Widgets
WidgetElement.hpp
Generated by
1.17.0