blob: 190083476d4557d84fa01d32f0014fcb5bf015dc [file]
#ifndef _RIVE_CUSTOM_PROPERTY_GROUP_BASE_HPP_
#define _RIVE_CUSTOM_PROPERTY_GROUP_BASE_HPP_
#include "rive/container_component.hpp"
#ifdef WITH_RIVE_EDITOR
#include "editor_native/generated/editor_field_types.hpp"
#endif
namespace rive
{
class CustomPropertyGroupBase : public ContainerComponent
{
protected:
typedef ContainerComponent Super;
public:
static const uint16_t typeKey = 548;
uint16_t coreType() const override { return typeKey; }
public:
Core* clone() const override;
void copy(const CustomPropertyGroupBase& object)
{
RIVE_EDITOR_COPY(object);
ContainerComponent::copy(object);
}
bool deserialize(uint16_t propertyKey, BinaryReader& reader) override
{
RIVE_EDITOR_DESERIALIZE(propertyKey, reader);
return ContainerComponent::deserialize(propertyKey, reader);
}
#ifdef WITH_RIVE_EDITOR
#include "editor_native/generated/custom_property_group_ext.inl"
#endif
};
} // namespace rive
#endif