Files
UnrealEngineUWP/Engine/Source/Editor/ContentBrowser/Private/SCollectionPicker.cpp
Matt Kuhlenschmidt 5c064acc86 Initial pass on content browser reskin
[CL 13949190 by Matt Kuhlenschmidt in ue5-main branch]
2020-07-27 16:11:54 -04:00

20 lines
523 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SCollectionPicker.h"
#include "SCollectionView.h"
#define LOCTEXT_NAMESPACE "ContentBrowser"
void SCollectionPicker::Construct( const FArguments& InArgs )
{
ChildSlot
[
SNew(SCollectionView)
.AllowCollectionButtons(InArgs._CollectionPickerConfig.AllowCollectionButtons)
.OnCollectionSelected(InArgs._CollectionPickerConfig.OnCollectionSelected)
.AllowContextMenu( InArgs._CollectionPickerConfig.AllowRightClickMenu )
];
}
#undef LOCTEXT_NAMESPACE