Commit Graph

172 Commits

Author SHA1 Message Date
Nick Darnell
05367d8dae UMG - Removing an unused style.
[CL 2338854 by Nick Darnell in Main branch]
2014-10-23 14:26:54 -04:00
Matt Kuhlenschmidt
f3babc8e96 Fix missing font warnings
[CL 2338681 by Matt Kuhlenschmidt in Main branch]
2014-10-23 12:30:47 -04:00
Joe Conley
5198266199 Translation Editor: Initial work for a "Translation picker." In current state when enabled, hover over FText in the editor and it will show you the information about that text and any tooltips. Shows Key, Namespace, Source, Translation and Table Name. Works for many strings, some still fail to be looked up in the Localization tables, will continue investigating.
[CL 2336834 by Joe Conley in Main branch]
2014-10-22 00:21:55 -04:00
Nick Darnell
4a56ebf912 UMG - Now displaying the currently applied DPI Scale in the UMG designer, along with a button that brings up the settings for the DPI Curve. Moved the UI related settings out of URendererSettings, they're now in thier own settings class UUserInterfaceSettings.
[CL 2334520 by Nick Darnell in Main branch]
2014-10-20 09:38:32 -04:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Michael Trepka
03e05ac175 New set of window close/minimize/zoom buttons for OS X 10.10
#codereview Mark.Satterthwaite

[CL 2328675 by Michael Trepka in Main branch]
2014-10-14 13:03:17 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Lina Halper
c069b0f6e3 Improve Record Animation feature.
[CL 2327871 by Lina Halper in Main branch]
2014-10-13 18:29:11 -04:00
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
Mikolaj Sieluzycki
c92ca070d1 Move references to UObjects from FCoreDelegates to FCoreUObjectDelegates
TTP #343071 CORE: FCoreDelegates should not have references to UObjects.
#codereview Robert.Manuszewski

[CL 2317144 by Mikolaj Sieluzycki in Main branch]
2014-10-02 06:13:35 -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