Commit Graph

15 Commits

Author SHA1 Message Date
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