Files
remote-ui/src/UI/UI_label.hpp
T
sani7 67a3e2536b UI
standardising type name
2024-08-27 11:10:44 +02:00

15 lines
335 B
C++

#pragma once
#include <string>
#include "UI_item.hpp"
#define UI_LABEL_TYPE std::string("UI_label")
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;
};