Potato Engine
Loading...
Searching...
No Matches
WidgetElement.hpp
Go to the documentation of this file.
1
2#pragma once
3
6
10struct 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
16protected:
17 // virtual void Tick(float dt) override;
18
19
20};
Wrapper for elements that can be rendered on screen.
Definition UIElement.hpp:12
Wrapper for specialized sub-element that can be rendered by a Widget.