2022-05-23 18:41:30 +00:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
#include "SCommonPreLoadingScreenWidget.h"
|
2022-09-13 07:18:28 +00:00
|
|
|
|
|
|
|
#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;
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
#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
|