Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/AnimationStateNodes/SGraphNodeAnimState.h
Mikolaj Sieluzycki bbcea54981 #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2055361 by Mikolaj Sieluzycki in Main branch]
2014-04-24 08:49:31 -04:00

55 lines
1.6 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
//
// Forward declarations.
//
class UAnimStateNodeBase;
class UAnimStateConduitNode;
class UAnimStateEntryNode;
class SGraphNodeAnimState : public SGraphNode
{
public:
SLATE_BEGIN_ARGS(SGraphNodeAnimState){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UAnimStateNodeBase* 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 CreatePinWidgets() OVERRIDE;
virtual void AddPin(const TSharedRef<SGraphPin>& PinToAdd) OVERRIDE;
virtual TSharedPtr<SToolTip> GetComplexTooltip() OVERRIDE;
// End of SGraphNode interface
static void GetStateInfoPopup(UEdGraphNode* GraphNode, TArray<FGraphInformationPopupInfo>& Popups);
protected:
FSlateColor GetBorderBackgroundColor() const;
virtual FString GetPreviewCornerText() const;
virtual const FSlateBrush* GetNameIcon() const;
};
class SGraphNodeAnimConduit : public SGraphNodeAnimState
{
public:
SLATE_BEGIN_ARGS(SGraphNodeAnimConduit){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UAnimStateConduitNode* InNode);
// SNodePanel::SNode interface
virtual void GetNodeInfoPopups(FNodeInfoContext* Context, TArray<FGraphInformationPopupInfo>& Popups) const OVERRIDE;
// End of SNodePanel::SNode interface
protected:
virtual FString GetPreviewCornerText() const OVERRIDE;
virtual const FSlateBrush* GetNameIcon() const OVERRIDE;
};