You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb jeanfrancois.dube, patrick.enfedaque [CL 14597717 by Richard Malo in ue5-main branch]
22 lines
567 B
C++
22 lines
567 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.Icon16x"));
|
|
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();
|
|
}
|