// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. /*============================================================================= SScreenViewRow.h: Declares the SScreenViewRow class. =============================================================================*/ #pragma once /** * Widget to display a particular view. */ class SScreenViewRow : public STableRow< TSharedPtr > { public: SLATE_BEGIN_ARGS( SScreenViewRow ) : _ScreenShotData() {} SLATE_ARGUMENT( TSharedPtr, ScreenShotData ) 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, const TSharedRef& InOwnerTableView ); public: /** * Generates the widget for the screen items. * * @param InScreenShotDataItem - Item to edit. * @param OwnerTable - The owner table, * @return The widget. */ TSharedRef OnGenerateWidgetForScreenView( TSharedPtr InScreenShotDataItem, const TSharedRef& OwnerTable ); private: // Holds the screen shot list view. TSharedPtr< SListView< TSharedPtr > > ScreenShotDataView; };