UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)
This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.
[CL 2399803 by Jamie Dale in Main branch]
Made sure everything was using FText rather than FString, and also updated the property editor API to return tooltips as FText rather than FString.
[CL 2373917 by Jamie Dale in Main branch]
* 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]
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.
Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks
[CL 2104067 by Max Preussner in Main branch]
#branch UE4
#proj Runtime.Engine
#summary Implemented a struct customization for FRange and changed these two properties to an FRange, which can be accordingly clamped.
#add Implemented FRangeStructCustomization<> for FFloatRange and FInt32Range.
#add Implemented FFloatRange and FInt32Range mirrors in Object.h, for use by UHT.
#change Changed the Type member of TRangeBound to be an explicitly sized TEnumAsByte instead of a plain enum (so that the mirrored structs for UHT are guaranteed to match).
#change Changed Min and MaxSmoothedFrameRate members in UEngine to use a FFloatRange and added appropriate metadata.
#reviewedby Chris.Wood, Max.Preussner
[CL 2039474 by Richard TalbotWatkin in Main branch]