Files
UnrealEngine/Engine/Source/Developer/SlateReflector/Private/Widgets/SWidgetReflector.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

35 lines
751 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;
virtual ~SWidgetReflector() = default;
};