You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
-Header and body container - Simple Title container - Column wrapping container - Zero State builder - Addition of favorites - moved additions of placement entries into the category builder #jira UE-205201 #rb JeanMichel.Dignard [CL 32977191 by karen jirak in ue5-main branch]
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "HeaderAndBodyContainer.h"
|
|
|
|
/**
|
|
* a struct to provide arguments to the FSimpleTitleContainer
|
|
*/
|
|
class FSimpleTitleContainerArgs : public FHeaderAndBodyContainerArgs
|
|
{
|
|
public:
|
|
FSimpleTitleContainerArgs(
|
|
FText InTitle = FText::GetEmpty(),
|
|
const FName& InIdentifier = "FSimpleTitleContainer",
|
|
const TSharedRef<FSlateBuilder>& InHeader = MakeShared<FSlateBuilder>(),
|
|
const TSharedRef<FSlateBuilder>& InBody = MakeShared<FSlateBuilder>(),
|
|
const bool bIsExpanded = false ) :
|
|
FHeaderAndBodyContainerArgs(InIdentifier , InHeader, InBody, bIsExpanded )
|
|
, Title( InTitle )
|
|
{
|
|
}
|
|
|
|
FText Title;
|
|
};
|
|
|
|
/**
|
|
* A container providing a simple FText title and a customizable body
|
|
*/
|
|
class FSimpleTitleContainer : public FHeaderAndBodyContainer
|
|
{
|
|
public:
|
|
/**
|
|
* A constructor taking const FSimpleTitleContainerArgs& to initialize it
|
|
*/
|
|
FSimpleTitleContainer( const FSimpleTitleContainerArgs& Args );
|
|
|
|
/**
|
|
* A constructor taking const FSimpleTitleContainerArgs& to initialize it
|
|
*/
|
|
FSimpleTitleContainer( FSimpleTitleContainerArgs&& Args );
|
|
|
|
private:
|
|
/** the title of the container, it will be set in the header */
|
|
FText Title;
|
|
}; |