Files
UnrealEngineUWP/Engine/Source/Editor/Layers/Private/SLayersCommandsMenu.h
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

33 lines
968 B
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "LayersModule.h"
/**
* The widget that represents a row in the LayersView's list view control. Generates widgets for each column on demand.
*/
class SLayersCommandsMenu : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS( SLayersCommandsMenu )
:_CloseWindowAfterMenuSelection( true ) {}
SLATE_ARGUMENT( bool, CloseWindowAfterMenuSelection )
SLATE_END_ARGS()
/**
* Construct this widget. Called by the SNew() Slate macro.
*
* @param InArgs Declaration used by the SNew() macro to construct this widget
* @param InImplementation The UI logic not specific to slate
*/
void Construct( const FArguments& InArgs, const TSharedRef< FLayerCollectionViewModel > InViewModel/*, TSharedPtr< SLayersViewRow > InSingleSelectedRow */);
private:
/** The UI logic of the LayersView that is not Slate specific */
TSharedPtr< FLayerCollectionViewModel > ViewModel;
};