You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035 [CL 17949667 by aurel cordonnier in ue5-main branch]
44 lines
907 B
C++
44 lines
907 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Layout/Visibility.h"
|
|
#include "Input/Reply.h"
|
|
#include "Widgets/SWidget.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
|
|
class FLevelCollectionModel;
|
|
struct FSlateBrush;
|
|
|
|
|
|
class SWorldHierarchy
|
|
: public SCompoundWidget
|
|
{
|
|
SLATE_BEGIN_ARGS(SWorldHierarchy)
|
|
:_InWorld(nullptr)
|
|
{}
|
|
SLATE_ARGUMENT(UWorld*, InWorld)
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs);
|
|
SWorldHierarchy();
|
|
~SWorldHierarchy();
|
|
|
|
private:
|
|
void OnBrowseWorld(UWorld* InWorld);
|
|
|
|
/** */
|
|
FReply OnSummonDetails();
|
|
/** */
|
|
EVisibility GetCompositionButtonVisibility() const;
|
|
FReply OnSummonComposition();
|
|
const FSlateBrush* GetSummonCompositionBrush() const;
|
|
|
|
/** */
|
|
TSharedRef<SWidget> GetFileButtonContent();
|
|
|
|
private:
|
|
TSharedPtr<FLevelCollectionModel> WorldModel;
|
|
};
|