This commit is contained in:
2024-08-29 15:00:27 +02:00
parent 6c6a60e980
commit 21a2c16607
31 changed files with 457 additions and 409 deletions
+4 -4
View File
@@ -1,15 +1,15 @@
#pragma once
#include <string>
#include "UI_item.hpp"
#include <string>
#define UI_LABEL_TYPE std::string("UI_label")
class UI_label : public UI_item
{
public:
public:
UI_label(std::string id, std::string text, Color fg_color, Color bg_color);
UI_label(const json& j);
UI_label(const json &j);
void from_json(const json& j) override;
void from_json(const json &j) override;
json to_json() const override;
};