// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Widgets/SCompoundWidget.h" struct FRichCurve; enum class ERawCurveTrackTypes : uint8; struct FSmartName; /** Interface to the curve editor tab in the anim sequence editor */ class IAnimSequenceCurveEditor : public SCompoundWidget { public: /** Reset the curves that are edited by this widget */ virtual void ResetCurves() = 0; /** Add a curve for editing */ virtual void AddCurve(const FText& InCurveDisplayName, const FLinearColor& InCurveColor, const FName& InName, ERawCurveTrackTypes InType, int32 InCurveIndex, FSimpleDelegate InOnCurveModified) = 0; UE_DEPRECATED(5.3, "Please use AddCurve that takes an FName.") virtual void AddCurve(const FText& InCurveDisplayName, const FLinearColor& InCurveColor, const FSmartName& InName, ERawCurveTrackTypes InType, int32 InCurveIndex, FSimpleDelegate InOnCurveModified) {} /** Remove a curve for editing */ virtual void RemoveCurve(const FName& InName, ERawCurveTrackTypes InType, int32 InCurveIndex) = 0; UE_DEPRECATED(5.3, "Please use AddCurve that takes an FName.") virtual void RemoveCurve(const FSmartName& InName, ERawCurveTrackTypes InType, int32 InCurveIndex) {} /** Zoom to fit all the curves */ virtual void ZoomToFit() = 0; };