9#include "Misc/Optional.h"
17template <
typename MixedIntoType>
41 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
47 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
58 HAlignment = InArgs._HAlignment.Get(HAlignment);
59 VAlignment = InArgs._VAlignment.Get(VAlignment);
65 if (HAlignment != Alignment)
67 HAlignment = Alignment;
79 if (VAlignment != Alignment)
81 VAlignment = Alignment;
100template <
typename MixedIntoType>
126 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
132 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
143 HAlignment = InArgs._HAlignment.Get(HAlignment);
144 VAlignment = InArgs._VAlignment.Get(VAlignment);
165 if (HAlignment != Alignment)
167 HAlignment = Alignment;
179 if (VAlignment != Alignment)
181 VAlignment = Alignment;
200template <
typename MixedIntoType>
222 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
228 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
234 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
240 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
247 if (InArgs._Padding.IsSet())
266 return SlotPaddingAttribute.
Get();
272 SlotPaddingType SlotPaddingAttribute;
277template <
typename MixedIntoType, EInval
idateW
idgetReason InPaddingInval
idationReason = EInval
idateW
idgetReason::Layout>
302 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
308 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
314 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
320 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
327 if (InArgs._Padding.IsSet())
378 using SlotPaddingInvalidationType =
typename std::conditional<InPaddingInvalidationReason == EInvalidateWidgetReason::None, ::SlateAttributePrivate::FSlateAttributeNoInvalidationReason, TSlateAttributeInvalidationReason<InPaddingInvalidationReason>>::type;
385 WidgetType*
Widget =
static_cast<WidgetType*
>(
static_cast<MixedIntoType*
>(
this)->GetOwnerWidget());
396template <
typename MixedIntoType>
417 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
423 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
429 return static_cast<typename MixedIntoType::FSlotArguments&
>(*this);
441 if (InArgs._MinSize.IsSet())
446 if (InArgs._MaxSize.IsSet())
451 if (InArgs._SizeParam.IsSet())
462 .UpdatePrerequisite(
"Slot.MinSize")
463 .UpdatePrerequisite(
"Slot.MaxSize");
465 .UpdatePrerequisite(
"Slot.MinSize")
466 .UpdatePrerequisite(
"Slot.MaxSize");
577 template <
typename InObjectType>
595template <
typename SlotType>
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define check(expr)
Definition AssertionMacros.h:314
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define SLATE_SLOT_END_ARGS()
Definition DeclarativeSyntaxSupport.h:386
#define SLATE_ADD_SLOT_ATTRIBUTE_DEFINITION_WITH_NAME(_SlotType, _Initializer, _Name, _Property, _Reason)
Definition SlateAttributeDescriptor.h:395
EHorizontalAlignment
Definition SlateEnums.h:174
EVerticalAlignment
Definition SlateEnums.h:194
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition ChildrenBase.h:27
Definition Attribute.h:17
Definition SlotBase.h:122
Definition SlateStructs.h:184
Definition SlateStructs.h:96
ESizeRule
Definition SlateStructs.h:98
@ SizeRule_StretchContent
Definition SlateStructs.h:101
Definition SlateAttributeDescriptor.h:205
Definition SlateStructs.h:163
Definition SlateStructs.h:146
const ObjectType & Get() const
Definition SlateAttributeBase.inl:240
bool Assign(ContainerType &Widget, const TAttribute< ObjectType > &OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
Definition SlateAttributeBase.inl:350
Definition SlateAttributeContained.inl:19
Definition SlateAttributeMember.inl:88
Definition Optional.h:131
Definition SlateAttribute.h:202