Initial UI in src

This commit is contained in:
2024-08-17 23:22:44 +02:00
parent 2af5280415
commit 505ec2b171
17 changed files with 608 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include <string>
#include "UI_item.hpp"
#define UI_LABEL_TYPE std::string("UIlabel")
class UI_label : public UI_item
{
public:
UI_label(std::string id, std::string text, Color fg_color, Color bg_color);
UI_label(const json& j);
void from_json(const json& j) override;
json to_json() const override;
};