Commit Graph

8 Commits

Author SHA1 Message Date
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
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]
2015-01-07 09:52:40 -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
6b008d0722 Fixed code relying on the version of SWidget::SetToolTipText that took an FString
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]
2014-12-02 13:48:53 -05: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
Max Preussner
3aece47882 Docs: Removed file comments and added missing code documentation
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]
2014-06-12 23:22:18 -04:00
Matt Kuhlenschmidt
0bac17760c Fixup usage of deprecated IStructCustomizationUtils interface
[CL 2094462 by Matt Kuhlenschmidt in Main branch]
2014-06-04 11:16:24 -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
Richard TalbotWatkin
8f4ba21f1a #ttp 329821 - EDITOR: SETTINGS: Max and Min smoothed frame rates can be set invertedly
#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]
2014-04-23 17:26:16 -04:00