// Copyright Epic Games, Inc. All Rights Reserved. #include "SCommonPreLoadingScreenWidget.h" #include "HAL/Platform.h" #include "Layout/Children.h" #include "Layout/Margin.h" #include "Math/Color.h" #include "Misc/Attribute.h" #include "Styling/CoreStyle.h" #include "Styling/ISlateStyle.h" #include "Styling/SlateColor.h" #include "Widgets/Layout/SBorder.h" class FReferenceCollector; #define LOCTEXT_NAMESPACE "SCommonPreLoadingScreenWidget" void SCommonPreLoadingScreenWidget::Construct(const FArguments& InArgs) { ChildSlot [ SNew(SBorder) .BorderImage(FCoreStyle::Get().GetBrush("WhiteBrush")) .BorderBackgroundColor(FLinearColor::Black) .Padding(0) ]; } void SCommonPreLoadingScreenWidget::AddReferencedObjects(FReferenceCollector& Collector) { //WidgetAssets.AddReferencedObjects(Collector); } FString SCommonPreLoadingScreenWidget::GetReferencerName() const { return TEXT("SCommonPreLoadingScreenWidget"); } #undef LOCTEXT_NAMESPACE