// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CurveEditor.h" #include "Templates/SharedPointer.h" #include "Widgets/DeclarativeSyntaxSupport.h" #include "Widgets/SCompoundWidget.h" class FCurveEditor; // Forward Declare class IPropertyRowGenerator; class SWidget; /** * Inline details panel that lets you edit the Time and Value of a generic FCurveEditor Key */ class CURVEEDITOR_API SCurveKeyDetailPanel : public SCompoundWidget { public: SLATE_BEGIN_ARGS(SCurveKeyDetailPanel) {} SLATE_END_ARGS() void Construct(const FArguments& InArgs, TSharedRef InCurveEditor); TSharedPtr GetPropertyRowGenerator() const { return PropertyRowGenerator; } private: void PropertyRowsRefreshed(); void ConstructChildLayout(TSharedPtr TimeWidget, TSharedPtr ValueWidget); private: TSharedPtr PropertyRowGenerator; TSharedPtr TempTimeWidget; TSharedPtr TempValueWidget; };