- Window menu is now sectioned and labeled based on the current editor. There's now a local workspace root member in FTabManager and a workspace category in FAssetEditorToolkit (both are FWorkspaceItem objects). Individual editors attach their local category to the tab manager's local root. Workflow app modes have their own category members that are swapped out when the mode changes.
- Finally, the AssetEditorCategory of FWorkspaceMenuStructure has been removed entirely.
- Replaced the AddMenuSeparator() call in FTabManager::PopulateSpawnerMenu_Helper() with a section of the same title as the workspace category.
- Tab spawner menu entries for the local editor now properly show the icon of the associated tab. To accomplish this it was necessary to change FWorkflowTabFactory::TabIcon to be an FSlateIcon instead of an FSlateBrush*. All factory instances have been updated accordingly.
- Added & updated lots of icons! (those missing will be TTP'd)
- The nomad tab spawner section (named "General" in the menu) has been largely compressed into the Developer Tools submenu, which has also been organized into sections for readability.
- Unreal frontend options were also moved into a context menu within the General section
- Moved all experimental tools to their own section of the Window menu. When they're no longer experimental they should register as nomads in the appropriate category
- Undo history now under Edit menu
[CL 2324285 by Dan Hertzka in Main branch]
Ensured that the Developer level Web Browser module is only referenced in editor and program builds. This means that you can create an SWebBrowser wherever you like but it won't have any functionality in game.
[CL 2323927 by Matthew Griffin in Main branch]
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]
FSlateTextRun and FSlateHyperlinkRun now support negative shadow offsets.
This also fixes the maximum size of a text run being reported incorrectly when it was using a shadow offset.
ReviewedBy Justin.Sargent
[CL 2322437 by Jamie Dale in Main branch]
Allow user to chose whether transparency is used for individual browser windows.
When browser viewport is resized or rendered with old size afterwards, made sure that the texture is copied row by row to avoid distortion.
Store size of viewport as an FIntPoint to avoid various casts that would be needed.
[CL 2321219 by Matthew Griffin in Main branch]
Web Browser widget displays a web page and allows for some optional basic controls.
Added initialisation and update of Web Browser module to Slate Application so that each web browser window doesn't have to manage this individually.
Added example usage of the widget to STestSuite so that it can be used via the SlateViewer app.
Fixed error in name of CEF3Utils module.
[CL 2319730 by Matthew Griffin in Main branch]
This regression was caused by a change to the touch FPointerEvent constructor in CL#2303366, which corrects the sign of the cursor delta. List view touch scrolling had previously (perhaps unknowingly) worked around this issue by negating the scroll direction. Touch scrolling and mouse scrolling now work in the same way.
This addresses TTP#348351 - Slate lists scroll backwards when using touch.
#codereview Nick.Atamas, Dan.Hertzka
[CL 2317124 by Andrew Rodham in Main branch]