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
+3 -4
View File
@@ -5,18 +5,17 @@ UI_label::UI_label(std::string id, std::string text, Color fg_color, Color bg_co
{
}
UI_label::UI_label(const json& j)
: UI_item(UI_LABEL_TYPE)
UI_label::UI_label(const json &j) : UI_item(UI_LABEL_TYPE)
{
from_json(j);
}
void UI_label::from_json(const json& j)
void UI_label::from_json(const json &j)
{
UI_item::from_json(j);
}
json UI_label::to_json() const
{
return UI_item::to_json();
return UI_item::to_json();
}