25 lines
778 B
C++
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;
|
|
};
|