Files
rive-cpp/include/rive/custom_property_container.hpp
philter 76eae106ad Scripting in Core Runtime (#11235) 0a5325e474
rev to luau 0.702 (#11259) b50983c49d

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
Co-authored-by: Philip Chung <philterdesign@gmail.com>
2025-12-11 23:09:23 +00:00

27 lines
620 B
C++

#ifndef _RIVE_CUSTOM_PROPERTY_CONTAINER_HPP_
#define _RIVE_CUSTOM_PROPERTY_CONTAINER_HPP_
#include <stdio.h>
#include <vector>
namespace rive
{
class Component;
class CustomProperty;
class CustomPropertyContainer
{
protected:
std::vector<CustomProperty*> m_customProperties;
void syncCustomProperties();
public:
virtual void addProperty(CustomProperty* prop);
virtual void removeProperty(CustomProperty* prop);
virtual const std::vector<Component*>& containerChildren() const
{
static const std::vector<Component*> emptyVec;
return emptyVec;
}
};
} // namespace rive
#endif