You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
34 lines
928 B
C++
34 lines
928 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#ifndef __LevelViewportLayoutOnePane_h__
|
|
#define __LevelViewportLayoutOnePane_h__
|
|
|
|
#pragma once
|
|
|
|
#include "LevelViewportLayout.h"
|
|
|
|
class FLevelViewportLayoutOnePane : public FLevelViewportLayout
|
|
{
|
|
public:
|
|
/**
|
|
* Saves viewport layout information between editor sessions
|
|
*/
|
|
virtual void SaveLayoutString(const FString& LayoutString) const override;
|
|
|
|
virtual const FName& GetLayoutTypeName() const override{ return LevelViewportConfigurationNames::OnePane; }
|
|
protected:
|
|
/**
|
|
* Creates the viewport for the single pane
|
|
*/
|
|
virtual TSharedRef<SWidget> MakeViewportLayout(const FString& LayoutString) override;
|
|
|
|
/** Overridden from FLevelViewportLayout */
|
|
virtual void ReplaceWidget(TSharedRef< SWidget > Source, TSharedRef< SWidget > Replacement) override;
|
|
|
|
protected:
|
|
/** The viewport widget parent box */
|
|
TSharedPtr< SHorizontalBox > ViewportBox;
|
|
};
|
|
|
|
#endif |