- Uses separate style and not Core.
- A new button to create the directory.
#codereview Nick.Atamas, Matthew.Lewis, Josh.Adams
[CL 2592945 by Dmitry Rekman in Main branch]
Also removing the option to use halfs for clipping data when sending it to the pixel shader as it doesn't make a ton of sense to keep this codepath available after discussing it with the others working on Slate.
#codereview matt.kuhlenschmidt nick.atamas wes.hunt
[CL 2583548 by Nick Darnell in Main branch]
UE-14641 - Fix PushMenu() to use QueryPopupMethod()
Pretty big refactor
Adds IMenu as way to identify menus. Replaces referring to menus as SWindows.
Lots of uses of PushMenu() fixed up to match new API
#codereview Nick.Atamas
[CL 2579277 by Chris Wood in Main branch]
There are now overloads to FUIAction that take a FGetActionCheckState delegate which is able to return any of the entries from ECheckBoxState. FIsActionChecked still exists for backwards compatibility, and converts the returned bool into a ECheckBoxState via a passthrough function.
#codereview Matt.Kuhlenschmidt
[CL 2570717 by Jamie Dale in Main branch]
- The Slate RHI renderer now uses a larger upfront pool for vertex buffers to avoid many upfront recreations of the vertex buffers
- The window element lists are no longer destroyed each frame and are reused as long as the window that they reference exists. This reduces memory allocations because arrays are no longer destroyed
- Creation of the final rendering batches has now been moved to the rendering thread
- The mapping of layers to element batch arrays has been simplified and is no longer emptied each frame thus avoiding memory allocations
[CL 2560820 by Matt Kuhlenschmidt in Main branch]
UE-11632 - Make SEditableText sleep-friendly.
SEditableText used to have spring animations for moving the caret and changing the selection, however these animations required the editable text to keep Slate active while they had focus in order to smoothly update the animation.
These animations have been removed, and the only ticking the editable text now needs to do is to blink the cursor (which is a much coarser animation). This also brings the look-and-feel of SEditableText and SMultiLineEditableText closer together, as the latter has never used these spring animations.
[CL 2555414 by Jamie Dale in Main branch]
UE-14833 - Cannot get input from input device without Controller already being created
FSceneViewport used to require you to click on it after alt-tabbing away from the game so that you got focus back for all users (as FSceneViewport::OnMouseButtonDown claimed focus for all users). This was due to the window re-activation only claiming focus for the keyboard user.
ReviewedBy Chris.Gagnon
[CL 2552411 by Jamie Dale in Main branch]