41 lines
1.0 KiB
C++
41 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/Array.h"
|
|
#include "Internationalization/Text.h"
|
|
#include "SGraphNode.h"
|
|
#include "Styling/SlateColor.h"
|
|
#include "Templates/SharedPointer.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
|
|
class SGraphPin;
|
|
class UAnimStateEntryNode;
|
|
struct FGraphInformationPopupInfo;
|
|
struct FNodeInfoContext;
|
|
|
|
class SGraphNodeAnimStateEntry : public SGraphNode
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SGraphNodeAnimStateEntry){}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, UAnimStateEntryNode* InNode);
|
|
|
|
// SNodePanel::SNode interface
|
|
virtual void GetNodeInfoPopups(FNodeInfoContext* Context, TArray<FGraphInformationPopupInfo>& Popups) const override;
|
|
// End of SNodePanel::SNode interface
|
|
|
|
// SGraphNode interface
|
|
virtual void UpdateGraphNode() override;
|
|
virtual void AddPin(const TSharedRef<SGraphPin>& PinToAdd) override;
|
|
|
|
// End of SGraphNode interface
|
|
|
|
|
|
protected:
|
|
FSlateColor GetBorderBackgroundColor() const;
|
|
|
|
FText GetPreviewCornerText() const;
|
|
};
|