Files
UnrealEngineUWP/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayModule.cpp
Robert Manuszewski f3effc54c2 Temporarily back out changelist 2094170 (due to CIS failures)
[CL 2094242 by Robert Manuszewski in Main branch]
2014-06-04 05:55:27 -04:00

30 lines
811 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "HeadMountedDisplay.h"
class FHeadMountedDisplayModule : public IHeadMountedDisplayModule
{
virtual TSharedPtr< class IHeadMountedDisplay > CreateHeadMountedDisplay()
{
TSharedPtr<IHeadMountedDisplay> DummyVal = NULL;
return DummyVal;
}
};
IMPLEMENT_MODULE( FHeadMountedDisplayModule, HeadMountedDisplay );
IHeadMountedDisplay::IHeadMountedDisplay()
{
PreFullScreenRect = FSlateRect(-1.f, -1.f, -1.f, -1.f);
}
void IHeadMountedDisplay::PushPreFullScreenRect(const FSlateRect& InPreFullScreenRect)
{
PreFullScreenRect = InPreFullScreenRect;
}
void IHeadMountedDisplay::PopPreFullScreenRect(FSlateRect& OutPreFullScreenRect)
{
OutPreFullScreenRect = PreFullScreenRect;
PreFullScreenRect = FSlateRect(-1.f, -1.f, -1.f, -1.f);
}