Commit Graph

20 Commits

Author SHA1 Message Date
Marc Audy
e5bb9b4d0d Integrate all non-branch Engine/Source changes from //depot/UE4-Orion to //depot/UE4
#lockdown Ben.Marsh
#platformnotify Josh.Adams

[CL 2718236 by Marc Audy in Main branch]
2015-10-06 15:59:09 -04:00
Chris Wood
8067d97a49 Removed appearance override properties from UMG widgets. Style property is now used.
[UE-14234] UMG widgets with overriding appearance properties always clobber the Style

#change Deprecated appearance properties on UWidgets that override the Style
#change Incremented the engine object version number and fixed up deprecated properties in OnLoad
#change Added sync'ing of Style properties in the UMG editor where missing. UMG wysiwyg needs to update in response to styling changes. Required adding of some SetStyle code to SWidgets here and there.

#codereview Nick.Darnell

[CL 2588458 by Chris Wood in Main branch]
2015-06-16 07:21:32 -04:00
Nick Darnell
6c0371070e UMG - Actually hooking up text commit/changed for the multiline editable text/box.
[CL 2583519 by Nick Darnell in Main branch]
2015-06-10 18:24:10 -04:00
Chris Wood
8b6f86e846 Added Font and other appearance properties to the property sync methods of the TextBox and MultiLineTextBox UMG widgets. Updates these properly in the designer.
[UE-11833] - The font inside of the Text box does not update when changed until the user selects another tab

[CL 2524237 by Chris Wood in Main branch]
2015-04-24 09:51:47 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Marc Audy
7effd7ebec Shadow variable fixes
[CL 2469447 by Marc Audy in Main branch]
2015-03-04 17:45:56 -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
Jamie Dale
adeaa8b5d5 UMG now uses the Roboto font asset by default
[CL 2342273 by Jamie Dale in Main branch]
2014-10-28 10:12:16 -04:00
Jamie Dale
f7430ac704 Initial support for composite fonts for Slate, UMG, and Canvas
Slate now has the concept of composite fonts and font families (via FCompositeFont and FTypeface). A composite font is a font that contains a default font family, as well as any number of sub-font families which should be used for a given set of character ranges. This change will greatly improve the localization support for fonts.

UFont assets can now use two forms of caching "offline" (which is the way they have always worked historically), and "runtime" (which utilizes the Slate font cache to cache glyphs on demand). These runtime cached UFont assets are now the only way to specify which font to use for a UMG widget, and address the previous issues about ensuring that the required font files were staged for your game.

The Slate font cache now works on FFontData instances, rather than filenames. This allows the UFont asset to embed a blob of TTF or OTF font data inside it, rather than require the fonts be loaded from files on disk.

The Canvas text renderer has been updated to support runtime cached UFont assets. This gives our legacy Canvas based tools the same improved font localization support as the rest of the Slate-based editor UI.

UFont asset creation has been changed to use runtime caching by default, and additionally, you can now import a TTF or OTF file via the Content Browser and it will automatically create a UFont asset. If you still want an offline cached UFont asset, you can just change the cache type in the font editor, and the usual font picker dialog will appear and allow you to generate a font texture atlas.

[CL 2342203 by Jamie Dale in Main branch]
2014-10-28 09:02:03 -04:00
Matt Kuhlenschmidt
56cffbee98 Added ability to toggle text wrapping in a UMG multi-line text block. Auto-wrap is enabled by default
#codereview nick.darnell

[CL 2341261 by Matt Kuhlenschmidt in Main branch]
2014-10-27 13:10:36 -04:00
Nick Darnell
5ffd080963 UMG - Using displayname to clean up the name of several basic widgets. Moving several less common widgets into Input.
[CL 2328854 by Nick Darnell in Main branch]
2014-10-14 14:02:56 -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
Nick Darnell
f12afd3836 UMG - Modal has been removed from AddToViewport now that the PlayerController controls it with SetInputMode. Updating all widgets to better handle destruction and cleanup of slate resources. Fixing an issue specifically with STextBlock accessing style information on Tick, which just after a Blueprint compiled can be removed. UTextBlock's now forcefully clear the style of widgets before being destroyed just in case they're still held onto someone that's presenting them for an extra frame.
[CL 2305861 by Nick Darnell in Main branch]
2014-09-22 15:09:37 -04:00
Nick Darnell
029f046474 UMG - Upgrading Multiline textboxes to use the new style system.
[CL 2298513 by Nick Darnell in Main branch]
2014-09-15 14:47:11 -04:00
Dan Hertzka
7337a9f929 Updated UMG to consistently use the term "Palette"
[CL 2298211 by Dan Hertzka in Main branch]
2014-09-15 11:21:09 -04:00
Dan Hertzka
ebd02f3441 -Moved all widget toolbox categories from metadata to virtual UWidget::GetToolboxCategory()
[CL 2283123 by Dan Hertzka in Main branch]
2014-09-03 12:32:27 -04:00
Marc Audy
40d6729d74 Fix spelling of Synchronize
[CL 2255195 by Marc Audy in Main branch]
2014-08-13 17:04:49 -04:00
Nick Darnell
5567698611 UMG - Now attempting to load fonts from the game content directory first.
[CL 2236035 by Nick Darnell in Main branch]
2014-07-29 13:27:59 -04:00
Nick Darnell
7e69443aaf UMG - Trimming down properties from the multiline editable textboxes that don't work. Allowing justification enum to be used in UObjects.
[CL 2228591 by Nick Darnell in Main branch]
2014-07-23 11:45:49 -04:00
Nick Darnell
0b7d09b537 UMG - Adding the new multiline editable text box to the available widgets. Still hasn't been full wrapped, just the basics.
[CL 2223632 by Nick Darnell in Main branch]
2014-07-18 14:19:14 -04:00