Commit Graph

21 Commits

Author SHA1 Message Date
Thomas Sarkanen
dfc9addd05 Tearing off a highlighted widget no longer results in duplicate content being displayed
Tutorials browser now always appears on the mainframe. This avoids the browser appearing on small torn-off windows if content is torn off while a tutorial is in progress.
Also fixed crash when opening a browser from a widget that used to be docked to anotehr tab (weak window pointer was invalid at this point).

TTP# 347014 - EDITOR: TUTORIAL: If a tab is undocked while being referenced in the "welcome to the unreal editor" tutorial, there will be two instances of the tutorial text

[CL 2305366 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:52 -04:00
Thomas Sarkanen
86292b26f8 Fixed 'fallback' overlays appearing in multiple windows
Dont present the 'fallback' overlays unless in the primary ('navigation') window.

[CL 2302563 by Thomas Sarkanen in Main branch]
2014-09-18 13:30:40 -04:00
Thomas Sarkanen
7acd43b140 Fixed tutorials border blocking mouse input to widgets below
[CL 2302510 by Thomas Sarkanen in Main branch]
2014-09-18 10:43:35 -04:00
Thomas Sarkanen
e6e5825caf Widget-bound content that is no visible now falls back to rendering centred.
Previously it would just disappear, whihc was very confusing for users if they had not read the previous stage.

[CL 2302352 by Thomas Sarkanen in Main branch]
2014-09-18 08:11:35 -04:00
Thomas Sarkanen
304d700746 Added/edited extra tutorial contexts & added analytics
Tutorial contexts for IOS/Android/Whatever are now hooked up (console setup ones are still missing).

Analytics added for tutorial usage in various places.

Added ability to reset tutorial state with -ResetTutorials command-line flag.

Cleaned up some unused code (still a lot more to come here!).

[CL 2302314 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:29 -04:00
Thomas Sarkanen
ae4dc6337b Fixed navigation visibility
Navigation widgets no longer appear hovering over windows that do not use them

[CL 2300718 by Thomas Sarkanen in Main branch]
2014-09-17 04:54:45 -04:00
Thomas Sarkanen
dd996369d7 Reworking navigation into content
Disabled floating navigation widget (but have not removed it yet).
Built navigation controls into the content widget.

[CL 2299461 by Thomas Sarkanen in Main branch]
2014-09-16 10:26:36 -04:00
Thomas Sarkanen
27f424cfa3 Fixed visibility of FX widget & tag for tutorial button
Prevented empty tabs launching when tutorial button anchored-tutorials are run.
Prevented empty tutorials from blocking input.

[CL 2294961 by Thomas Sarkanen in Main branch]
2014-09-12 06:18:47 -04:00
Thomas Sarkanen
a37b84b8c8 Rich tooltips for tutorial hyperlinks
Refactored handling of decorators into new utility class FTutorialText.
Added tooltip (and rich tooltip) support to hyperlink runs.

#codereview Jamie.Dale

[CL 2294907 by Thomas Sarkanen in Main branch]
2014-09-12 05:28:34 -04:00
Thomas Sarkanen
918ef98415 Tidied up Tutorials Browser
Tweaked padding and button styles so the layout is more consistent.
Add ability to display textures as icons in the browser (for categories and tutorials).

[CL 2292442 by Thomas Sarkanen in Main branch]
2014-09-10 12:30:30 -04:00
Thomas Sarkanen
d303ca0e26 Added intro animation to tutorials
Intro 'bounce' is driven by a float curve asset.
Because of rich text not working very well when zoomed at the moment, only the border is zoomed when animating. The content has the inverse zoom applied to it to counter this.

[CL 2290861 by Thomas Sarkanen in Main branch]
2014-09-09 12:19:28 -04:00
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