11 namespace deserializers
15 using json::utility::jsonObject;
19 parser.
parse(description);
std::unique_ptr< T > smartPointerType
Compatible smart pointer type.
Base class for all windows, controls, etc.
virtual void setTextColor(uint8_t red, uint8_t green, uint8_t blue)
virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue)
Base class for all windows that has children windows.
virtual bool setPlaceholder(std::wstring_view placeholder) final
Set placeholder to single line edit control.
const std::unordered_map< size_t, smartPointerType< utility::BaseComponentCreator > > & getCreators() const
Get all current registered creators.
static GUIFramework & get()
Singleton instance access.
BaseComponent * deserialize(const std::string &componentName, const json::utility::jsonObject &description, BaseComposite *parent) const override
Created component pointer already handled by its parent.
static uint32_t getCodepage()
wstring to_wstring(const string &stringToConvert, uint32_t codepage)
Parse BaseComponent properties.
std::array< uint8_t, 3 > backgroundColor
utility::ComponentSettings settings
virtual void parse(const json::utility::jsonObject &description)
std::array< uint8_t, 3 > textColor