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.
Base class for all windows that has children windows.
virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue) final override
Same as setProgressBarBackgroundColor.
const std::unordered_map< size_t, smartPointerType< utility::BaseComponentCreator > > & getCreators() const
Get all current registered creators.
static GUIFramework & get()
Singleton instance access.
Standard non updatable progress bar.
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()
Base templated class for component creators.
virtual std::any getData() const
wstring to_wstring(const string &stringToConvert, uint32_t codepage)
std::array< uint8_t, 3 > backgroundColor
utility::ComponentSettings settings
Parse InfiniteProgressBar specific properties.
void parse(const json::utility::jsonObject &description) override