Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/AnimationStateNodes/SGraphNodeAnimStateEntry.h
Jamie Dale a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.

[CL 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -05:00

34 lines
798 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
//
// 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;
};