You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
32 lines
844 B
C++
32 lines
844 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
/*-----------------------------------------------------------------------------
|
|
SCascadePreviewViewportToolBar
|
|
-----------------------------------------------------------------------------*/
|
|
|
|
#include "Editor/UnrealEd/Public/SViewportToolBar.h"
|
|
|
|
class SCascadePreviewViewportToolBar : public SViewportToolBar
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SCascadePreviewViewportToolBar){}
|
|
SLATE_ARGUMENT(TWeakPtr<FCascade>, CascadePtr)
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs);
|
|
|
|
private:
|
|
/** Generates the toolbar view menu content */
|
|
TSharedRef<SWidget> GenerateViewMenu() const;
|
|
|
|
/** Generates the toolbar time menu content */
|
|
TSharedRef<SWidget> GenerateTimeMenu() const;
|
|
|
|
private:
|
|
/** The viewport that we are in */
|
|
TWeakPtr<FCascade> CascadePtr;
|
|
};
|