Files
UnrealEngineUWP/Engine/Source/Editor/LevelEditor/Private/LevelViewportLayoutOnePane.h
Jaroslaw Palczynski ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00

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