Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/AnimationStateNodes/SGraphNodeAnimStateEntry.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

43 lines
995 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Styling/SlateColor.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "SNodePanel.h"
#include "SGraphNode.h"
class SGraphPin;
class UAnimStateEntryNode;
//
// Forward declarations.
//
class UAnimStateEntryNode;
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;
};