Adding external link indicator to tutorial hyperlinks

Slate changes:
Allowed hyperlink decorator and hyperlink run to be more easily derived from by moving some functions/variables to protected.

Added new run & decorator for hyperlinks in tutorials that add an icon to the end of the run if required.
Only use icon-style run if in display mode (not in edit mode).

reviewed by Jamie.Dale

[CL 2322460 by Thomas Sarkanen in Main branch]
This commit is contained in:
Thomas Sarkanen
2014-10-08 06:07:52 -04:00
committed by UnrealBot
parent 0eb6d819e1
commit 8011ba0c1b
10 changed files with 247 additions and 10 deletions

View File

@@ -34,7 +34,8 @@ void STutorialEditableText::Construct(const FArguments& InArgs)
TArray<TSharedRef<class ITextDecorator>> Decorators;
FTutorialText::GetRichTextDecorators(Decorators);
const bool bForEditing = true;
FTutorialText::GetRichTextDecorators(bForEditing, Decorators);
for(auto& Decorator : Decorators)
{