Commit Graph

158 Commits

Author SHA1 Message Date
Thomas Sarkanen
3014bfc0df Moving tutorial browser to an editor nomad tab
Tweaked styles and layout to better suit a tab.
Also fixed browser not showing some tutorials if all assets are not yet loaded.
Progress is now updated periodically as the browser can be now open while a tutorial is in progress.

TTP# 347956 - TUTORIALS: Selecting More Tutorials can hide Tutorial Browser

[CL 2327011 by Thomas Sarkanen in Main branch]
2014-10-13 06:46:06 -04:00
Dan Hertzka
4f9868cf79 - Added a few icons to the path context menu. More are on the way.
[CL 2324527 by Dan Hertzka in Main branch]
2014-10-09 17:17:09 -04:00
Dan Hertzka
f3092790eb Window menu refactor & polish
- 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]
2014-10-09 12:34:55 -04:00
Thomas Sarkanen
0a058fd216 Adding external link indicator to tutorial hyperlinks
Missed a file from my last submit somehow.

[CL 2322477 by Thomas Sarkanen in Main branch]
2014-10-08 06:33:18 -04:00
Andrew Rodham
4ad1b987fc Improved progress reporting in the editor
FScopedSlowTask has been refactored to better allow for nesting of slow operations. This allows us to cascade nested scopes and provide accurate feedback on slow tasks. FScopedSlowTasks now work together when nested inside sub functions. Break up long functions that contain calls to multiple nested FScopedSlowTasks with FScopedSlowTask::EnterProgressFrame().

Example Usage:
void DoSlowWork()
{
    FScopedSlowTask Progress(2.f, LOCTEXT("DoingSlowWork", "Doing Slow Work..."));
    // Optionally make this show a dialog if not already shown
    Progress.MakeDialog();

    // Indicate that we are entering a frame representing 1 unit of work
    Progress.EnterProgressFrame(1.f);

    // DoFirstThing() can follow a similar pattern of creating a scope divided into frames. These contribute to their parent's progress frame proportionately.
    DoFirstThing();

    Progress.EnterProgressFrame(1.f);
    DoSecondThing();
}

This addresses TTP#338602 - NEEDS REVIEW: Editor progress bars nearly always just show 100%, don't offer useful indication of progress

[CL 2322391 by Andrew Rodham in Main branch]
2014-10-08 04:42:34 -04:00
Nick Darnell
ae167b635a UMG - RemoveFromParent now works for items added tot he viewport. Deprecating RemoveFromViewport. You can now adjust the visibility of a widget for design time only purposes. Deprecating IsVisible, it wasn't a good description of the widget's actual visibility, created a new method that better represents what the old method did, IsInViewport.
[CL 2317626 by Nick Darnell in Main branch]
2014-10-02 14:28:23 -04:00
Nick Darnell
619e1e4297 UMG - Introducing a Wrap Box that can wrap widgets onto a new line if it runs out of space. Introducing named slot support, still under development, but allows user widgets to expose slots that content can be placed into in different instances of the user widget. The designer now allows custom design time resolutions to be setup on a per widget basis, because sometimes you don't want to model a small widget as if it were a fullscreen widget. Fixing a bug with how the designer draws effects by having a shim widget that paints at a specific layer in the designers overlay. Introducing a modification to the progress bar so that the default progress bar brush is white, and the color is a tint so that progress bars can more easliy styed in UMG out of the box, fixes the 'my progress bar can't be blue' bug. Adding a small grid to the anchor dialog to give a sense of resize instead of just pulsing.
[CL 2314745 by Nick Darnell in Main branch]
2014-09-30 15:08:57 -04:00
Andrew Rodham
2b1eada68d Added "Unspecified" options to EGraphicsPreset and EHardwareClass to indicate that no choice has yet been made
These are now the defaults, which prevent any updating of project settings until changed by the user.

#codereview Michael.Noland

[CL 2314453 by Andrew Rodham in Main branch]
2014-09-30 12:18:05 -04:00
Thomas Sarkanen
d9ba2d3606 Tutorial content 'Next' button is now green, has text and is customizable
Rearranged layout/padding a little to compensate for larger apparent button size.
Kept larger button hitbox, which required some custom border handling for the button.

TTP# 348109 - EDITOR: TUTORIALS: Add green buttons to tutorials

[CL 2314257 by Thomas Sarkanen in Main branch]
2014-09-30 11:37:26 -04:00
Thomas Sarkanen
fe407d11d4 Searching tutorials now recursively searches all categories and sub-categories
If we have a search string we should search all categories starting at the current context, rather than just one level deep as before.
Also fixed search text highlighting to be consistently coloured and to show up for rich text content.

TTP# 347534 - CRITICAL: TUTORIALS: Search bar only shows results for currently displayed tutorials

[CL 2312725 by Thomas Sarkanen in Main branch]
2014-09-29 06:54:17 -04:00
Thomas Sarkanen
d60e92beca Added breadcrumb trail to tutorials browser
Displays crumbs according to the current navigation filter.

TTP# 347533 - TUTORIALS: Display tree path in Tutorial Window

[CL 2312668 by Thomas Sarkanen in Main branch]
2014-09-29 05:28:46 -04:00
Marc Audy
ada4cf303f Rename AReverbVolume to AAudioVolume
[CL 2311102 by Marc Audy in Main branch]
2014-09-26 11:32:27 -04:00
Matt Kuhlenschmidt
94df393c70 Fixed play in viewport using simulate icon.
[CL 2308430 by Matt Kuhlenschmidt in Main branch]
2014-09-24 12:05:24 -04:00
Andrew Rodham
c6d472f665 Updated checkout warning styles
Checkout warnings now have a yellow-orange background to highlight the error, and checked-out/writable notices now have no color to reduce noise.

[CL 2308034 by Andrew Rodham in Main branch]
2014-09-24 03:43:14 -04:00
Matt Kuhlenschmidt
7edc7eff23 Fixed aliased selection outline border on UMG selection highlights
[CL 2305527 by Matt Kuhlenschmidt in Main branch]
2014-09-22 10:12:25 -04:00
Jamie Dale
6da78431f0 Some usability improvements for the output log
1) The selected text colour is now easier on the eyes
2) The output log will always scroll to the end when you enter a command
3) The output log will now correctly scroll to the bottom when it is first opened (it forces the scrollbars to always visible to avoid the horizontal scrollbar being able to move the vertical scrollbar up slightly from the bottom of the log)

ReviewedBy Andrew.Rodham

[CL 2305438 by Jamie Dale in Main branch]
2014-09-22 09:46:08 -04:00
Max Preussner
121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00
Michael Noland
5ad95edd6c Editor: Source control integration and styling improvements for hardware targeting settings (WIP)
#Unshelved from pending changelist '2302592' and modified
#codereview andrew.rodham

[CL 2303502 by Michael Noland in Main branch]
2014-09-18 22:10:53 -04:00
Matt Kuhlenschmidt
2d3f7afa6e Consolidated Play and Simulate into one button. Play now uses universal play icon that simulate was using. Simulate now accessible via sub-menu
[CL 2303444 by Matt Kuhlenschmidt in Main branch]
2014-09-18 21:10:37 -04:00
Dan Hertzka
48b8739c8a - Updated palette view appearance to look more like details panel (not 100% there yet)
- Palette view updates when widget blueprints are compiled or deleted and on hot reload
- Palette shows all widget blueprint classes including unloaded ones (that are loaded on create if need be)

#codereview nick.darnell

[CL 2303371 by Dan Hertzka in Main branch]
2014-09-18 20:00:06 -04:00
Max Preussner
e877227b67 MessageLog: Added message tokens for tutorials
[CL 2303315 by Max Preussner in Main branch]
2014-09-18 18:59:55 -04:00
Dan Hertzka
7cee267e06 - Slider bar now draws a thin box instead of a line to make it show up on mobile
- FSliderStyle includes a brush for the enabled & disabled bar

[CL 2303155 by Dan Hertzka in Main branch]
2014-09-18 17:19:29 -04:00
Nick Darnell
aaa16631a4 UMG - Improving the anchors drop down menu to show a preview of the effect it has. Adding new button styles to the editor, fixing several bugs with making widgets design time flagged. No longer asserting on incorrect visibility flags. Adding major (0.1) snapping to the anchor widget. Making several addChild functions specific to their widgets.
[CL 2302716 by Nick Darnell in Main branch]
2014-09-18 13:44:34 -04:00
Thomas Sarkanen
526414cc16 Added completion 'Tick' displayed in the browser
Shows when a tutorial has been completed.
Also added tooltips explaining what the icon means & a tooltip for the restart button.

[CL 2302400 by Thomas Sarkanen in Main branch]
2014-09-18 09:02:51 -04:00
Thomas Sarkanen
87f881e0d0 Fixed missing slate brushes warning on startup
[CL 2302324 by Thomas Sarkanen in Main branch]
2014-09-18 08:11:11 -04:00