linux-wallpaperengine/src/WallpaperEngine/Core/Projects/CPropertyText.h
Alexis Maiquez f499454957 Fixed identation problems
Added comments all over the codebase to explain things a bit better
Improved CApplicationContext to be a bit more self-explanatory
Abstracted CRenderContext access away into a helper that every render class should use

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2023-03-23 01:42:01 +01:00

25 lines
556 B
C++

#pragma once
#include "CProperty.h"
namespace WallpaperEngine::Core::Projects
{
using json = nlohmann::json;
/**
* Represents a text property
*/
class CPropertyText : public CProperty
{
public:
static CPropertyText* fromJSON (json data, const std::string& name);
[[nodiscard]] std::string dump () const override;
void update (const std::string& value) override;
static const std::string Type;
private:
CPropertyText (const std::string& name, const std::string& text);
};
}