You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971 [CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
22 lines
566 B
C++
22 lines
566 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "DataLayer/DataLayerDragDropOp.h"
|
|
#include "Textures/SlateIcon.h"
|
|
|
|
void FDataLayerDragDropOp::Construct()
|
|
{
|
|
const FSlateBrush* Icon = FEditorStyle::GetBrush(TEXT("DataLayer.Editor"));
|
|
if (DataLayerLabels.Num() == 1)
|
|
{
|
|
SetToolTip(FText::FromName(DataLayerLabels[0]), Icon);
|
|
}
|
|
else
|
|
{
|
|
FText Text = FText::Format(NSLOCTEXT("FDataLayerDragDropOp", "MultipleFormat", "{0} DataLayerLabels"), DataLayerLabels.Num());
|
|
SetToolTip(Text, Icon);
|
|
}
|
|
|
|
SetupDefaults();
|
|
FDecoratedDragDropOp::Construct();
|
|
}
|