13#define OT_FactoryKey_GraphicsRectangularItem "OT_GIRect"
35 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
#define OT_FactoryKey_GraphicsRectangularItem
Definition GraphicsRectangularItemCfg.h:13
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Definition GraphicsRectangularItemCfg.h:19
const ot::OutlineF & getOutline(void) const
Definition GraphicsRectangularItemCfg.h:44
void setCornerRadius(int _px)
Definition GraphicsRectangularItemCfg.h:40
void setSize(const ot::Size2DD &_size)
Definition GraphicsRectangularItemCfg.h:49
const ot::Size2DD & getSize(void) const
Definition GraphicsRectangularItemCfg.h:50
void setOutline(const ot::OutlineF &_outline)
Definition GraphicsRectangularItemCfg.h:43
int getCornerRadius(void) const
Definition GraphicsRectangularItemCfg.h:41
virtual std::string getFactoryKey(void) const override
Returns the key that is used to create an instance of this class in the simple factory.
Definition GraphicsRectangularItemCfg.h:38
const ot::Painter2D * getBackgroundPainter(void) const
Definition GraphicsRectangularItemCfg.h:47
The OutlineF class is used to describe how a outline should look like.
Definition Outline.h:161
Definition Painter2D.h:17
2D Size with double values
Definition Size2D.h:115
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30