12 namespace deserializers
16 using json::utility::jsonObject;
20 parser.
parse(description);
std::unique_ptr< T > smartPointerType
Compatible smart pointer type.
Base class for all windows, controls, etc.
virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue)
Base class for all windows that has children windows.
virtual void setMinRange(int min) final
virtual void setMaxRange(int max) final
virtual void setSelectionStart(int startPosition) final
virtual void setSelectionEnd(int endPosition) final
const std::unordered_map< size_t, smartPointerType< utility::BaseComponentCreator > > & getCreators() const
Get all current registered creators.
static GUIFramework & get()
Singleton instance access.
Standard vertical trackbar control.
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 TrackbarControl specific properties.
void parse(const json::utility::jsonObject &description) override