You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
757 B
C++
29 lines
757 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "SEditorViewportToolBarMenu.h"
|
|
|
|
class SEditorViewport;
|
|
|
|
class UNREALED_API SEditorViewportViewMenu : public SEditorViewportToolbarMenu
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS( SEditorViewportViewMenu ){}
|
|
SLATE_ARGUMENT( TSharedPtr<class FExtender>, MenuExtenders )
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct( const FArguments& InArgs, TSharedRef<SEditorViewport> InViewport, TSharedRef<class SViewportToolBar> InParentToolBar );
|
|
|
|
private:
|
|
FText GetViewMenuLabel() const;
|
|
const FSlateBrush* GetViewMenuLabelIcon() const;
|
|
|
|
protected:
|
|
virtual TSharedRef<SWidget> GenerateViewMenuContent() const;
|
|
TWeakPtr<SEditorViewport> Viewport;
|
|
|
|
private:
|
|
TSharedPtr<class FExtender> MenuExtenders;
|
|
}; |