blob: 174907b8780ad8905a53b5f887f0b16d567c3e28 [file]
#ifndef _RIVE_GRADIENT_STOP_HPP_
#define _RIVE_GRADIENT_STOP_HPP_
#include "rive/generated/shapes/paint/gradient_stop_base.hpp"
namespace rive
{
class GradientStop : public GradientStopBase
{
public:
StatusCode onAddedDirty(CoreContext* context) override;
#ifdef WITH_RIVE_EDITOR
void editorParentChanged(ContainerComponent* from, ContainerComponent* to)
override;
#endif
protected:
void colorValueChanged() override;
void positionChanged() override;
};
} // namespace rive
#endif