Commit Graph

26 Commits

Author SHA1 Message Date
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Chris Gagnon
0e6d657c3d Refactor to unify keyboard and controller input and focus.
Native controller navigation support.

[CL 2345039 by Chris Gagnon in Main branch]
2014-10-30 12:29:36 -04:00
Mike Beach
872cf11d3f [UE-2889] BP compiler errors can now be double clicked in the message log to focus on the problematic node.
[CL 2342901 by Mike Beach in Main branch]
2014-10-28 17:44:09 -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
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
Max Preussner
7e8e50f85c MessageLog: Redesigned message log layout for a more condensed view; fixed some message texts
#CodeReview: ben.marsh, michael.noland

[CL 2310653 by Max Preussner in Main branch]
2014-09-25 22:34:19 -04:00
Thomas Sarkanen
35b955a637 Message log now opens the correct page when popped up
Handled log listing change broadcast message & selected the correct log.
Also corrected log list to use localized title.

TTP# 347358 - EDITOR: Message log (sometimes?) does not select the correct category

#codereview Max.Preussner

[CL 2306630 by Thomas Sarkanen in Main branch]
2014-09-23 04:32:48 -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
Max Preussner
5c881d5dca clang fixes
[CL 2300022 by Max Preussner in Main branch]
2014-09-16 16:21:49 -04:00
Max Preussner
6abfab399d MessageLog: Message token layout tweak
[CL 2300000 by Max Preussner in Main branch]
2014-09-16 16:01:46 -04:00
Max Preussner
c30cfaee72 fixed tools build
#CodeReview: lina.halper

[CL 2299890 by Max Preussner in Main branch]
2014-09-16 15:01:50 -04:00
Max Preussner
385b3b3fba clang fix
#CodeReview: dmitry.rekman

[CL 2299877 by Max Preussner in Main branch]
2014-09-16 14:56:27 -04:00
Max Preussner
db2344f40e fixed assignment order
[CL 2299793 by Max Preussner in Main branch]
2014-09-16 14:21:27 -04:00
Max Preussner
9c7bd00423 MessageLog: Handling log category deslection properly
[CL 2299786 by Max Preussner in Main branch]
2014-09-16 14:11:15 -04:00
Max Preussner
bb6a7de1d7 MessageLog: Message log burst upgrades
- Redesigned the layout of the message log viewer
- Added 'Action' message token type for actionable items
- Started to remove message token delegates in favor of Action tokens
- NULL to nullptr

[CL 2299749 by Max Preussner in Main branch]
2014-09-16 13:46:20 -04:00
Eric Newman
a67ac37bf9 Fix to self-assignment typo caught by Mac build
#codereview Simon.Tovey

[CL 2272547 by Eric Newman in Main branch]
2014-08-26 15:00:55 -04:00
Simon Tovey
500b937055 - Removed UI for Dev/Release shaders in material editor. Dropped to a CVar and using release shaders by default.
- Removed UI for Built-In Stats. Martin didn't like the feature but I've left the code in just in case people miss it.
- Removed useless bar at the bottom of the stats window.
- Hackily canceled some unnessessary compilaton when opening the editor.

[CL 2272297 by Simon Tovey in Main branch]
2014-08-26 14:02:18 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Dmitry Rekman
5cfd4c2019 Linux editor: minor fixes.
- Part of PR #306 by amigo and #ue4linux community.
- Mostly things like initialization order changes, but also platform-specific additions/improvements.

#codereview Josh.Adams

[CL 2235441 by Dmitry Rekman in Main branch]
2014-07-29 01:53:30 -04:00
Michael Trepka
2fc73cb3c2 Removed root window check in FMessageLogModule::OpenMessageLog() on Mac, as it's always NULL
[CL 2225935 by Michael Trepka in Main branch]
2014-07-21 16:51:07 -04:00
Michael Trepka
776abb8bf2 Fix for message string in FMessageLogListingModel::AddMessageInternal() being treated as a formatting string
[CL 2124689 by Michael Trepka in Main branch]
2014-07-02 12:03:29 -04:00
Richard TalbotWatkin
cae2251bba Changed all instances of notifications with a "Show Log" hyperlink to be more precise about which log they will open.
#ttp 338544 - EDITOR: Update Notifications "Show Log" to "Show Output Log"
#branch UE4
#change Changed hyperlink text to be more specific in individual instances of FNotificationInfo objects.
#reviewedby Chris.Wood

[CL 2108221 by Richard TalbotWatkin in Main branch]
2014-06-17 12:05:50 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Max Preussner
b63129a60c Slate: Refactored core Slate implementation into SlateCore module in preparation for UMG.
Other Updates:
- The WidgetReflector is now in its own module as well. It will be converted to a plug-in later.
- The Public API of both Slate and SlateCore has largely been reorganized for better discoverabilty. More cleanup work is needed.
- Added a lot of missing API documentation and fixed existing ones. More and better documentation is needed.
- Removed dead code, fixed a couple things I stubled upon, and conformed to coding guidelines (NULL vs nullptr, line breaks, etc.)

Upgrade Notes:
- The Slate Remote Server is currently disabled - will be re-enabled shortly!
- If your module previously had a module dependency to 'Slate', it now also needs a PrivateModuleDependency to 'SlateCore' in its Build.cs file.
- If your module exposes in any of its Public header files types that are now declared in SlateCore, it needs a PublicModuleDependency to 'SlateCore'
- The ToolTip property type on SWidget has changed from SToolTip to IToolTip; change local variables to TSharedPtr<IToolTip> instead of TSharedPtr<SToolTip> where needed
- IToolTip is not a widget. If you need access to the actual widget that represents the tool tip, use IToolTip::AsWidget(); If you need access to the tool tip's content, use IToolTip::GetContentWidget()

Troubleshooting:
- After syncing to this changelist you may have to clean your /Engine/Intermediate/Build/ directory and rebuild your entire project
- If in your project you are getting linker errors for unresolved types that are now declared in SlateCore, you may be missing a dependency to 'SlateCore'
- If in the Engine code you are getting linker errors for unresolved types that are now declared in SlateCore, you may need to rebuild the entire Engine

[CL 2057118 by Max Preussner in Main branch]
2014-04-26 15:07:24 -04:00