Potato Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
TextElement.hpp
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
WidgetElement.hpp
"
5
9
struct
TextElement :
public
WidgetElement
10
{
11
virtual
const
char
* TYPE()
const override
{
return
"TextElement"
; }
12
13
TextElement() =
default
;
14
18
std::string
field
;
19
20
};
WidgetElement.hpp
TextElement::field
std::string field
Text to display.
Definition
TextElement.hpp:18
WidgetElement
Wrapper for specialized sub-element that can be rendered by a Widget.
Definition
WidgetElement.hpp:11
Game
UI
Widgets
TextElement.hpp
Generated by
1.17.0