Commit Graph

1143 Commits

Author SHA1 Message Date
patrick boutot
ead77a20e8 Slate: Enforce that only some InvalidateWidgetReason are supported by SlateAttribute.
#preflight 60c0adcfb1a4a30001dbfcdb

#ROBOMERGE-SOURCE: CL 16606112 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606120 by patrick boutot in ue5-release-engine-test branch]
2021-06-09 11:37:31 -04:00
Patrick Boutot
87d51ffb40 Slate: Change SWidget::IsHovered and IsDirectlyHovered to not be virtual anymore. Use SWidget::IsHoverable or SWidget::SetHover. This allow us to reduce the number of attribute on SButton.
#jira UE-115497
#rb daren.cheng
#preflight 60bf54595bc96f0001b7a875

[CL 16586132 by Patrick Boutot in ue5-main branch]
2021-06-08 08:54:29 -04:00
PJ Kack
1072f325a7 Slate: Fix memory access write violation caused by 16276861 where WidgetsNeedingPrepassUpdate could be writing to an already reset FastWidgetPathList.
Reset all arrays in FSlateInvalidationRoot::InvalidateRootChildOrder (code by Patrick.Boutot)

#jira UE-116075, UE-116402
#rb Patrick.Boutot
#rnx

[CL 16569962 by PJ Kack in ue5-main branch]
2021-06-07 10:02:33 -04:00
brooke hubert
ee8f252d7d Fix an issue with the deprecated event macro for _Lambda expansion.
#Jira none
#rb Vincent.Gauthier
#fyi matt.kuhlenschmidt
#preflight 60b8ed8c4d507d0001ec5c6f

[CL 16549609 by brooke hubert in ue5-main branch]
2021-06-03 13:23:22 -04:00
UnrealBot
aa952f5758 Branch snapshot for CL 16549112
[CL 16549112 in ue5-main branch]
2021-06-03 18:23:24 +00:00
Patrick Boutot
5dab1d6b07 Rename SWidget::IsConstructionCompleted to SWidget::IsConstructed
#preflight 60b8b27dae46a1000183d5ec

[CL 16546170 by Patrick Boutot in ue5-main branch]
2021-06-03 08:05:10 -04:00
Patrick Boutot
98830126c1 Slate: Update Hittestgrid and some FWidgetPath's function to takes a SWidget pointer instead of a SWidget shared ptr to reduce the number shared ptr copy. FWidgetAndPointer uses a TOptional instead of a TSharedPtr.
#jira UE-115497
#rb vincent.gauthier
#preflight 60b66d94107dc600015d58cc

[CL 16532706 by Patrick Boutot in ue5-main branch]
2021-06-02 08:06:36 -04:00
Patrick Boutot
4f0a62565e Slate: Convert SSynthTooltip, SUniformWrapPanel, and other panels FSlot to the FSlotArgument syntax.
#jira UE-114425
#preflight 60b6757c6073fb00011a00ff

[CL 16532209 by Patrick Boutot in ue5-main branch]
2021-06-02 07:29:46 -04:00
Patrick Boutot
543a6c5f4c Slate: Convert SSegmentedControl FSlot's to the FSlotArgument syntax.
#jira UE-114425
#preflight 60b6197ef45a94000107e4c8

[CL 16513103 by Patrick Boutot in ue5-main branch]
2021-06-01 08:58:15 -04:00
Patrick Boutot
370cfaa4ca Slate: Remove some shared ptr copy. Fix slot access in FChildren and add a ForEach function.
#jira UE-115497
#rb vincent.gauthier
#preflight 60b524a6f45a940001e24a28

[CL 16510610 by Patrick Boutot in ue5-main branch]
2021-05-31 15:42:59 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
brooke hubert
01582b3cd2 Slate Events can now be deprecated when using SLATE_EVENT_DEPRECATED.
To use, you will need to provide
* the deprecation version and message, similar to UE_DEPRECATED
* the deprecated delegate class type
* the deprecated event name
* the upgraded delegate event name
* a conversion function that converts the data parameters from the deprecated event execute to the upgraded event execute

#preflight 60a711d0a5fa6d00018d6949
#Jira none
#rb vincent.gauthier
#fyi matt.kuhlenschmidt

[CL 16473031 by brooke hubert in ue5-main branch]
2021-05-26 14:42:55 -04:00
daren cheng
988bda36c7 Add default size to default button style.
#jira UE-97576
#rb trivial

[CL 16472558 by daren cheng in ue5-main branch]
2021-05-26 14:09:14 -04:00
Patrick Boutot
d1914f8a57 Slate: Convert SCanvas, SRadialBox, SSplitter, SUniformgridPanel and SWidgetSWitcher FSlot's to the FSlotArgument syntax.
#jira UE-114425
#preflight 60ae50be88460e0001933d28

[CL 16469709 by Patrick Boutot in ue5-main branch]
2021-05-26 11:07:57 -04:00
Steve Robb
1f3fe8c9ac Some ANSICHAR/UTF8CHAR cast fixes for upcoming changes to StringConv.h.
#rb none
#jira none

[CL 16469364 by Steve Robb in ue5-main branch]
2021-05-26 10:45:12 -04:00
Patrick Boutot
f1e1f100ca Disable UE_SLATE_WITH_MEMBER_ATTRIBUTE_DEBUGGING. It's too slow in debug.
#fyi mikko.mononen

[CL 16466825 by Patrick Boutot in ue5-main branch]
2021-05-26 07:34:37 -04:00
Patrick Boutot
aeea5f0679 Slate: Convert SConcertScrollBox, SWrapBox, SBoxPanel, SWindow FSlot's to the FSlotArgument syntax.
#jira UE-114425
#preflight 60adb0b704188d000133d0b9

[CL 16466544 by Patrick Boutot in ue5-main branch]
2021-05-26 06:42:00 -04:00
freezernick
9b69d877fc PR #8052: Fix Tritanope DisplayName (Contributed by freezernick)
#jira UE-116192
#rb vincent.gauthier

[CL 16452791 by freezernick in ue5-main branch]
2021-05-25 13:40:58 -04:00
Patrick Boutot
b2ba58545c Fix build with "error C4458: declaration of 'Slot' hides class member"
#rb none
#rnx

[CL 16451220 by Patrick Boutot in ue5-main branch]
2021-05-25 12:35:31 -04:00
Patrick Boutot
fbf6261906 Slate: Add FSlotArguments as a way to create FSlot in the declarative way, similar to SWidget. It will be used to support TSlateAttribute on FSlot. TAttribute will be in the FSlotArguments and the FSlate will have a TSlateAttribute, similar to SWidget. The previous slot will be deprecated once everything is converted. Convert SOverlay to FSlotArguments.
#jira UE-114425
#rb vincent.gauthier
#preflight 60acf3a86905a60001c2170e

[CL 16447861 by Patrick Boutot in ue5-main branch]
2021-05-25 10:13:56 -04:00
daren cheng
1bb69ed483 Remove optimization pragmas.
#rb trivial
#jira UE-115353

[CL 16439788 by daren cheng in ue5-main branch]
2021-05-24 16:09:54 -04:00
daren cheng
ed7a9c4a53 Fix crash slate attribute calling delegate on garbage collected UObject.
#rb trivial
#jira UE-115353
#fyi Patrick.Boutot

[CL 16439478 by daren cheng in ue5-main branch]
2021-05-24 15:52:20 -04:00
Lauren Barnes
aee8534812 Updates to the in-viewport menu styling, and turning the UI on by default. Adds SWindow::MakeStyledCursorDecorator for custom styling.
#rb Matt.Kuhlenschmidt
#preflight 60abbd6b8194e70001ec9294
#jira UETOOL-3450

[CL 16436496 by Lauren Barnes in ue5-main branch]
2021-05-24 12:18:51 -04:00
daren cheng
b0b9cc86c5 Fix static analysis memory usage UMG Core Style
#jira none
#rb trival
#fyi Marc.Audy

[CL 16429773 by daren cheng in ue5-main branch]
2021-05-22 12:33:44 -04:00
daren cheng
8153258c0d Fix UMGCoreStyle referencing nonexistant files.
Expose WidgetStyle for List/Tree Views.

#rb Matt.Kuhlenschmidt
#jira UE-116125
#fyi Brian.White
#preflight 60a592480569f30001f9fd28

[CL 16421640 by daren cheng in ue5-main branch]
2021-05-21 14:07:43 -04:00