Files
Nuake-custom/Nuake/src/UI/Nodes/TextNode.h
2021-06-04 14:31:16 -04:00

23 lines
316 B
C++

#pragma once
#include "Node.h"
struct TextStyle
{
Ref<Font> font;
float fontSize;
Color color;
};
class TextNode : public Node
{
public:
std::string content = "Hello World!";
TextStyle style;
void Draw()
{
//Renderer2D::DrawString(content, style.font, Vector2(Position.Left, Position.Top), 2.0);
}
};