Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Sarkanen
fa824aad40 Added more hyperlink types for tutorials
Added asset, code, tutorial and UDN hyperlinks. Tweaked UI to use combo box instead of the large amount of radio buttons it was using before.
Made sure importer & content use correct text styles.
Defaulted to rich text for content.

[CL 2284444 by Thomas Sarkanen in Main branch]
2014-09-04 09:59:45 -04:00
Thomas Sarkanen
7b3ae59c60 Simplified rich text editor for tutorials.
Removed ability to independently set font size & colour etc. and replaced with a set of font styles we can use (and style appropriately). Added legacy code to deal with old-style text as best it can.

[CL 2282800 by Thomas Sarkanen in Main branch]
2014-09-03 06:25:58 -04:00
Ben Marsh
06f468be39 Proper fix for a build error yesterday; FGeometry no longer exposes mutable components.
#codereview Wes.Hunt, Thomas.Sarkanen

[CL 2277595 by Ben Marsh in Main branch]
2014-08-29 08:59:41 -04:00
Ben Marsh
0b685f0bd7 Temporary build fix.
#codereview tsarkanen@pitbullstudio.co.uk

[CL 2276645 by Ben Marsh in Main branch]
2014-08-28 15:50:05 -04:00
Thomas Sarkanen
8dc16308f3 Added tutorials button in top bar of editor & sub-editors
Icon is only visible if content is available for the editor in question.
Split editor settings into two groups - one is persistent settings and one is progress/state.
Tutorials record their dismissed state, so users can permenantly disable the 'nag' for a particular tutorial.
Tutorial content now solidifies when the mouse is hovered over it, so it can be made easier to read.
Fixed crash on startup if an intro tutorial was displaying rich text.
Also fixed crash for TTP# 345094, where a zero-length tutorial was being accessed.

[CL 2275934 by Thomas Sarkanen in Main branch]
2014-08-28 06:22:40 -04:00
Thomas Sarkanen
1328ebc6ef Use the Asset Registry to discover tutorials
Fixed visibility issues where hyperlinks could not be clicked.
Implemented BP functions for tutorial stage completion etc.

[CL 2264228 by Thomas Sarkanen in Main branch]
2014-08-20 10:27:41 -04:00
Thomas Sarkanen
6e88255088 Tutorial widget content can now disable highlighting.
Also changed content visibility for Rich Text so that widgets do not obscure those beneath them.

[CL 2261126 by Thomas Sarkanen in Main branch]
2014-08-18 14:00:02 -04:00
Thomas Sarkanen
b7361dffe8 Tutorials 2.0: Adding new tutorial wizard and rich text support
Tutorials can now be created using the right-click asset menu->Misc->Tutorial Blueprint.
Importer allows you to pick a UDN file, which will then be converted into a new Tutorial Asset.

Adapted UDN parser to also output rich text format for the purposes of this importer. This may be deprecated at some point soon, once existing tutorials have been imported.

Rich text editor added to tutorial details customization. Features; font, color, size & hyperlinks for now.
Rich text display also added to content widgets.

Added option to optionally show the widget highlight if only the bubble widget is required.

#codereview Bruce.Nesbit

[CL 2256027 by Thomas Sarkanen in Main branch]
2014-08-14 07:02:50 -04:00
bruce nesbit
f5df0a5566 Stopped tutorial anchor bubbles from showing if they have no text.
#codereview Thomas.Sarkanen

[CL 2255974 by bruce nesbit in Main branch]
2014-08-14 06:02:24 -04:00
Thomas Sarkanen
a27980dcf0 Tutorials 2.0 - Initial version
NOTE: Old tutorials not deprecated (yet), but widget highlights in old tutorials will stop working with this change!

Added new Blueprintable UEditorTutorial object.
Added suite of widgets and details customizations to display tutorials.
New system is available on command line switch -NewTutorials.

Slate changes:
Tag names are now stored in SWidgets, rather than simply being discarded.
Removed STutorialWrapper in favour of using Tags.
Added Tags to more multibox widgets, so virtually all can now be picked.
Added SWindow::HasOverlay so we dont attempt to add overlays to widows that cannot have them.

[CL 2244216 by Thomas Sarkanen in Main branch]
2014-08-05 09:04:35 -04:00