13#define OT_FactoryKey_GraphicsInvisibleItem "OT_GIInvis"
36 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
#define OT_FactoryKey_GraphicsInvisibleItem
Definition GraphicsInvisibleItemCfg.h:13
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition GraphicsInvisibleItemCfg.h:19
void setSize(const ot::Size2DD &_size)
Definition GraphicsInvisibleItemCfg.h:41
const ot::Size2DD & getSize(void) const
Definition GraphicsInvisibleItemCfg.h:42
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 GraphicsInvisibleItemCfg.h:39
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
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