MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Slate.h File Reference
#include "CoreMinimal.h"
#include "Mcro/FunctionTraits.h"

Go to the source code of this file.

Data Structures

struct  Mcro::Slate::TArgumentsOf_S< T >
 
struct  Mcro::Slate::TArgumentsOf_S< T >
 
struct  Mcro::Slate::TSlots< Range, Transform, OnEmpty, SlotArguments >
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Slate
 

Concepts

concept  Mcro::Slate::CWidget
 
concept  Mcro::Slate::CSlot
 
concept  Mcro::Slate::CWidgetOrSlot
 
concept  Mcro::Slate::CWidgetOrSlotArguments
 
concept  Mcro::Slate::CWidgetArguments
 
concept  Mcro::Slate::CSlotArguments
 
concept  Mcro::Slate::CWidgetWithSlots
 

Typedefs

template<typename T >
using Mcro::Slate::TArgumentsOf = typename TArgumentsOf_S<T>::Type
 
template<CWidgetOrSlot T>
using Mcro::Slate::TAttributeBlock = TUniqueFunction<TArgumentsOf<T>&(TArgumentsOf<T>&)>
 
template<CWidgetOrSlot T>
using Mcro::Slate::TAttributeBlockCopyable = TFunction<TArgumentsOf<T>&(TArgumentsOf<T>&)>
 

Functions

template<CWidgetOrSlotArguments Arguments, CFunctionLike AttrBlock>
requires ( TFunction_ArgCount<AttrBlock> == 1 && CSameAs<Arguments&, TFunction_Arg<AttrBlock, 0>> )
TFunction_Return< AttrBlock > Mcro::Slate::operator/ (Arguments &args, const AttrBlock &attributes)
 
template<CWidgetOrSlotArguments Arguments, CFunctionLike AttrBlock>
requires ( TFunction_ArgCount<AttrBlock> == 1 && CSameAs<Arguments&, TFunction_Arg<AttrBlock, 0>> )
TFunction_Return< AttrBlock > Mcro::Slate::operator/ (Arguments &&args, const AttrBlock &attributes)
 
template<CRange Range, CFunctionLike Transform, CFunctionLike OnEmpty, CSlotArguments SlotArguments, CWidgetArguments Arguments>
Arguments & Mcro::Slate::operator+ (Arguments &args, TSlots< Range, Transform, OnEmpty, SlotArguments > &&slots)
 
MCRO_API EVisibility Mcro::Slate::IsVisible (bool visible, EVisibility hiddenState=EVisibility::Collapsed)
 

Variables

template<CWidgetOrSlot T>
TAttributeBlock< T > Mcro::Slate::InertAttributeBlock = [](TArgumentsOf<T>& args) -> auto& { return args; }
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Slate.h.