Files
UnrealEngine/Engine/Source/Editor/SkeletonEditor/Private/SkeletonTreeSummoner.h
2025-05-18 13:04:45 +08:00

25 lines
778 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/SWidget.h"
#include "Toolkits/AssetEditorToolkit.h"
#include "ISkeletonTree.h"
#include "WorkflowOrientedApp/WorkflowTabFactory.h"
class SToolTip;
struct FSkeletonTreeSummoner : public FWorkflowTabFactory
{
public:
FSkeletonTreeSummoner(TSharedPtr<class FAssetEditorToolkit> InHostingApp, TSharedRef<class ISkeletonTree> InSkeletonTree);
/** FWorkflowTabFactory interface */
virtual TSharedRef<SWidget> CreateTabBody(const FWorkflowTabSpawnInfo& Info) const override;
virtual TSharedPtr<SToolTip> CreateTabToolTipWidget(const FWorkflowTabSpawnInfo& Info) const override;
/** Reference to our skeleton tree */
TWeakPtr<class ISkeletonTree> SkeletonTreePtr;
};