2016-01-07 08:17:16 -05:00
|
|
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
|
2015-01-27 14:54:15 -05:00
|
|
|
|
|
|
|
|
#include "IntroTutorialsPrivatePCH.h"
|
|
|
|
|
#include "STutorialLoading.h"
|
|
|
|
|
#include "SThrobber.h"
|
|
|
|
|
|
2015-02-18 10:25:32 -05:00
|
|
|
#define LOCTEXT_NAMESPACE "Tutorials"
|
|
|
|
|
|
2015-01-27 14:54:15 -05:00
|
|
|
void STutorialLoading::Construct(const FArguments& InArgs)
|
|
|
|
|
{
|
|
|
|
|
ContextWindow = InArgs._ContextWindow;
|
|
|
|
|
|
|
|
|
|
ChildSlot
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
.HAlign(HAlign_Center)
|
|
|
|
|
[
|
2015-02-18 10:25:32 -05:00
|
|
|
SNew(SBorder)
|
|
|
|
|
.VAlign(VAlign_Center)
|
2015-01-27 14:54:15 -05:00
|
|
|
.HAlign(HAlign_Center)
|
2015-02-18 10:25:32 -05:00
|
|
|
.BorderImage(FEditorStyle::GetBrush("ToolPanel.GroupBorder"))
|
2015-01-27 14:54:15 -05:00
|
|
|
[
|
2015-02-18 10:25:32 -05:00
|
|
|
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(FSlateFontInfo(FPaths::EngineContentDir() / TEXT("Slate/Fonts/Roboto-Regular.ttf"), 16))
|
|
|
|
|
.Text(LOCTEXT("LoadingContentTut", "Loading Tutorial Content"))
|
|
|
|
|
]
|
2015-01-27 14:54:15 -05:00
|
|
|
]
|
2015-02-18 10:25:32 -05:00
|
|
|
];
|
2015-01-27 14:54:15 -05:00
|
|
|
}
|
2015-02-18 10:25:32 -05:00
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|