31 lines
574 B
C++
31 lines
574 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Widgets/SWidget.h"
|
|
#include "SLevelEditor.h"
|
|
|
|
/**
|
|
* Level editor menu
|
|
*/
|
|
class FLevelEditorMenu
|
|
{
|
|
|
|
public:
|
|
|
|
static void RegisterLevelEditorMenus();
|
|
|
|
/**
|
|
* Static: Creates a widget for the level editor's menu
|
|
*
|
|
* @return New widget
|
|
*/
|
|
static TSharedRef< SWidget > MakeLevelEditorMenu( const TSharedPtr<FUICommandList>& CommandList, TSharedPtr<class SLevelEditor> LevelEditor );
|
|
private:
|
|
static void RegisterBuildMenu();
|
|
static void RegisterSelectMenu();
|
|
};
|