Files
UnrealEngineUWP/Engine/Source/Editor/IntroTutorials/Private/STutorialLoading.cpp
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -05:00

51 lines
1.2 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "STutorialLoading.h"
#include "Fonts/SlateFontInfo.h"
#include "Misc/Paths.h"
#include "Widgets/SBoxPanel.h"
#include "Widgets/Layout/SBorder.h"
#include "Widgets/Text/STextBlock.h"
#include "EditorStyleSet.h"
#include "Styling/CoreStyle.h"
#include "Widgets/Images/SThrobber.h"
#define LOCTEXT_NAMESPACE "Tutorials"
void STutorialLoading::Construct(const FArguments& InArgs)
{
ContextWindow = InArgs._ContextWindow;
ChildSlot
.VAlign(VAlign_Center)
.HAlign(HAlign_Center)
[
SNew(SBorder)
.VAlign(VAlign_Center)
.HAlign(HAlign_Center)
.BorderImage(FEditorStyle::GetBrush("ToolPanel.GroupBorder"))
[
SNew(SVerticalBox)
+ SVerticalBox::Slot()
.VAlign(VAlign_Top)
.HAlign(HAlign_Center)
[
SNew(SCircularThrobber)
]
+ SVerticalBox::Slot()
.VAlign(VAlign_Top)
.HAlign(HAlign_Center)
[
SNew(STextBlock)
.ShadowColorAndOpacity(FLinearColor::Black)
.ColorAndOpacity(FLinearColor::White)
.ShadowOffset(FIntPoint(-1, 1))
.Font(FCoreStyle::GetDefaultFontStyle("Regular", 16))
.Text(LOCTEXT("LoadingContentTut", "Loading Tutorial Content"))
]
]
];
}
#undef LOCTEXT_NAMESPACE