Files
UnrealEngine/Engine/Source/Editor/CurveEditor/Public/SCurveKeyDetailPanel.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

43 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CurveEditor.h"
#include "Templates/SharedPointer.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#define UE_API CURVEEDITOR_API
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 SCurveKeyDetailPanel : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SCurveKeyDetailPanel)
{}
SLATE_END_ARGS()
UE_API void Construct(const FArguments& InArgs, TSharedRef<FCurveEditor> InCurveEditor);
TSharedPtr<IPropertyRowGenerator> GetPropertyRowGenerator() const { return PropertyRowGenerator; }
private:
UE_API void PropertyRowsRefreshed();
UE_API void ConstructChildLayout(TSharedPtr<SWidget> TimeWidget, TSharedPtr<SWidget> ValueWidget);
private:
TSharedPtr<IPropertyRowGenerator> PropertyRowGenerator;
TSharedPtr<SWidget> TempTimeWidget;
TSharedPtr<SWidget> TempValueWidget;
};
#undef UE_API