UE-7990 - Fixed with a decent Slate widget.

[CL 2420847 by Richard Hinckley in Main branch]
This commit is contained in:
Richard Hinckley
2015-01-27 14:54:15 -05:00
parent 9fbd2b617c
commit af4e486a74
9 changed files with 143 additions and 0 deletions

View File

@@ -29,6 +29,18 @@ void STutorialRoot::Construct(const FArguments& InArgs)
];
}
void STutorialRoot::AttachWidget(TSharedPtr<SWidget> Widget)
{
//This checkSlow is just here to ensure we know what we're doing
checkSlow(ChildSlot.GetWidget() == SNullWidget::NullWidget);
ChildSlot.AttachWidget(Widget.ToSharedRef());
}
void STutorialRoot::DetachWidget()
{
ChildSlot.DetachWidget();
}
void STutorialRoot::MaybeAddOverlay(TSharedRef<SWindow> InWindow)
{
if(InWindow->HasOverlay())