Commit Graph

13 Commits

Author SHA1 Message Date
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04: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
59d60efa73 Speculative fix for a crash when a nested widget is changed
UE-5795 - UMG: Crash when changing font size on TextBlock in a widget that was referenced by another widget (both UMG editors opened)

We were getting a crash using the cached values of SlateFontInfoStructs after updating a nested widget in UMG. This has been changed to get the value of SlateFontInfoStructs as required, first ensuring that the struct property handle is still valid.

[CL 2374699 by Jamie Dale in Main branch]
2014-12-03 09:01:34 -05: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
Mikolaj Sieluzycki
e333288ef6 Prepare UMGEditor headers for private PCH cleanup.
#codereview Robert.Manuszewski

[CL 2329920 by Mikolaj Sieluzycki in Main branch]
2014-10-15 05:21:18 -04:00
Nick Darnell
be851a4b63 UMG - We no use the publically exposed slate brush customization in UMG to override it so that the preview is not displayed in UMG, but still displayed for brush assets.
[CL 2293765 by Nick Darnell in Main branch]
2014-09-11 10:53:56 -04:00
Nick Darnell
88e0f79938 UMG/Editor - The slate brush customization is now a publically reusable customization.
[CL 2293667 by Nick Darnell in Main branch]
2014-09-11 09:14:20 -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
Matt Kuhlenschmidt
35c8a25c6d Deprecated RegisterCustomPropertyLayout and fixed up use cases. Use RegisterCustomClassLayout instead
[CL 2094538 by Matt Kuhlenschmidt in Main branch]
2014-06-04 12:11:33 -04:00
Matt Kuhlenschmidt
13939a90e9 Deprecated IStructCustomization and struct property customization registration. Use IPropertyTypeCustomization and RegisterPropertyTypeCustomization instead
[CL 2094389 by Matt Kuhlenschmidt in Main branch]
2014-06-04 10:16:14 -04:00
Matt Kuhlenschmidt
b9bf40b57e Added ability to customize any low level property type. This will replace the struct customization interface
[CL 2093710 by Matt Kuhlenschmidt in Main branch]
2014-06-03 17:37:23 -04:00
Daniel Broder
1b562a7b22 Merging using UE4-Fortnite-To-UE4 using CL 2058592.
Removed UENUM() from EMyTownBuildingsWidgetSorting and EMyFortRatingStarSize to fix compile issues and because UENUM() was unnecessary.

Also made hand-fix to UAIHotSpotRenderingComponent by removing HeaderGroup (obsolete).

Did not merge TRV_HAF_Outer_012_lower_border or TRV_HAF_Outer_030 umaps due to conflicts and based on advice from Stefan.

[CL 2060490 by Daniel Broder in Main branch]
2014-04-30 17:34:38 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00