mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 21:21:17 +01:00
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>
27 lines
620 B
C++
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 |