Files
UnrealEngineUWP/Engine/Source/Editor/PIEPreviewDeviceProfileSelector/Private/PIEPreviewWindowStyle.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

49 lines
2.0 KiB
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#if WITH_EDITOR
#include "Styling/SlateTypes.h"
#include "PIEPreviewWindowStyle.generated.h"
/**
* Represents the appearance of an SPIEWindow
*/
USTRUCT()
struct PIEPREVIEWDEVICEPROFILESELECTOR_API FPIEPreviewWindowStyle : public FSlateWidgetStyle
{
GENERATED_USTRUCT_BODY()
FPIEPreviewWindowStyle();
virtual ~FPIEPreviewWindowStyle() {}
virtual void GetResources(TArray< const FSlateBrush* >& OutBrushes) const override;
static const FName TypeName;
virtual const FName GetTypeName() const override { return TypeName; };
static const FPIEPreviewWindowStyle& GetDefault();
/** Style used to draw the window ScreenRotationButton button */
UPROPERTY()
FButtonStyle ScreenRotationButtonStyle;
FPIEPreviewWindowStyle& SetScreenRotationButtonStyle(const FButtonStyle& InScreenRotationButtonStyle) { ScreenRotationButtonStyle = InScreenRotationButtonStyle; return *this; }
/** Style used to draw the window 0.25x button */
UPROPERTY()
FButtonStyle QuarterMobileContentScaleFactorButtonStyle;
FPIEPreviewWindowStyle& SetQuarterMobileContentScaleFactorButtonStyle(const FButtonStyle& InQuarterMobileContentScaleFactorButtonStyle) { QuarterMobileContentScaleFactorButtonStyle = InQuarterMobileContentScaleFactorButtonStyle; return *this; }
/** Style used to draw the window 0.5x button */
UPROPERTY()
FButtonStyle HalfMobileContentScaleFactorButtonStyle;
FPIEPreviewWindowStyle& SetHalfMobileContentScaleFactorButtonStyle(const FButtonStyle& InHalfMobileContentScaleFactorButtonStyle) { HalfMobileContentScaleFactorButtonStyle = InHalfMobileContentScaleFactorButtonStyle; return *this; }
/** Style used to draw the window 1X button */
UPROPERTY()
FButtonStyle FullMobileContentScaleFactorButtonStyle;
FPIEPreviewWindowStyle& SetFullMobileContentScaleFactorButtonStyle(const FButtonStyle& InFullMobileContentScaleFactorButtonStyle) { FullMobileContentScaleFactorButtonStyle = InFullMobileContentScaleFactorButtonStyle; return *this; }
};
#endif