Files
UnrealEngineUWP/Engine/Source/Editor/Layers/Private/SLayersCommandsMenu.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

36 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "LayerCollectionViewModel.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;
};