Files
UnrealEngineUWP/Engine/Source/Developer/ScreenShotComparison/Private/Widgets/SScreenShotImagePopup.h
ryan durand 471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00

45 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
SScreenImagePopup.h: Declares the SScreenShotImagePopup class.
=============================================================================*/
#pragma once
#include "CoreMinimal.h"
#include "Brushes/SlateDynamicImageBrush.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
/**
* A widget to show a screen shot image as a pop up window
*/
class SScreenShotImagePopup : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS( SScreenShotImagePopup ) {}
/** The assest name for the screen shot */
SLATE_ARGUMENT( TSharedPtr<FSlateDynamicImageBrush>, ImageBrush )
/** The size of the image */
SLATE_ARGUMENT( FIntPoint, ImageSize )
SLATE_END_ARGS()
/**
* Construct the widget.
*
* @param InArgs A declaration from which to construct the widget.
* @param InOwnerTableView The owning table data.
*/
void Construct( const FArguments& InArgs );
private:
// Holds the brush for this screenshot
TSharedPtr<FSlateDynamicImageBrush> DynamicImageBrush;
};