34 lines
711 B
C++
34 lines
711 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "SlateFwd.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SUserWidget.h"
|
|
#include "Framework/Application/IWidgetReflector.h"
|
|
|
|
class FWidgetSnapshotService;
|
|
|
|
/**
|
|
* Widget reflector implementation.
|
|
* User widget to enable iteration without recompilation.
|
|
*/
|
|
class SWidgetReflector
|
|
: public SUserWidget
|
|
, public IWidgetReflector
|
|
{
|
|
public:
|
|
|
|
SLATE_USER_ARGS(SWidgetReflector)
|
|
{ }
|
|
|
|
SLATE_ARGUMENT(TSharedPtr<SDockTab>, ParentTab)
|
|
SLATE_ARGUMENT(TSharedPtr<FWidgetSnapshotService>, WidgetSnapshotService)
|
|
|
|
SLATE_END_ARGS()
|
|
|
|
virtual void Construct( const FArguments& InArgs ) = 0;
|
|
};
|
|
|