Files
UnrealEngineUWP/Engine/Source/Editor/ReferenceViewer/Private/SReferenceNode.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

34 lines
724 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "SGraphNode.h"
class FAssetThumbnail;
class UEdGraphNode_Reference;
/**
*
*/
class SReferenceNode : public SGraphNode
{
public:
SLATE_BEGIN_ARGS( SReferenceNode ){}
SLATE_END_ARGS()
/** Constructs this widget with InArgs */
void Construct( const FArguments& InArgs, UEdGraphNode_Reference* InNode );
// SGraphNode implementation
virtual void UpdateGraphNode() override;
virtual bool IsNodeEditable() const override { return false; }
// End SGraphNode implementation
private:
TSharedPtr<class FAssetThumbnail> AssetThumbnail;
bool bUsesThumbnail;
};