blob: ae330ac775ae4756f7a3a26066ce56036a9042bb [file]
#ifndef _RIVE_CONSTRAINT_HPP_
#define _RIVE_CONSTRAINT_HPP_
#include "generated/constraints/constraint_base.hpp"
#include <stdio.h>
namespace rive
{
class TransformComponent;
class Constraint : public ConstraintBase
{
public:
void strengthChanged() override;
StatusCode onAddedClean(CoreContext* context) override;
virtual void markConstraintDirty();
virtual void constrain(TransformComponent* component) = 0;
void buildDependencies() override;
};
} // namespace rive
#endif