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