Files
UnrealEngineUWP/Engine/Source/Editor/Persona/Private/PoseWatchManagerDefaultMode.h
lucas dower 7ba1366473 Misc pose watch manager changes.
- Pose watch manager now in default anim bp layout
- Fix for being unable to make pose watches created from 'Automatically create pose watch on selection' setting a permanent pose watch and vice versa
- Cleaned up drag-and-drop validation
- Updated context menus
- Improved resolving name clashes

#jira UE-136746
#jira UE-136745
#rb Thomas.Sarkanen
#preflight 61b33ae1ee0de9822e3a62cc

#ROBOMERGE-AUTHOR: lucas.dower
#ROBOMERGE-SOURCE: CL 18430031 in //UE5/Release-5.0/... via CL 18435283
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435504 by lucas dower in ue5-release-engine-test branch]
2021-12-10 17:45:09 -05:00

34 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "PoseWatchManagerFwd.h"
#include "PoseWatchManagerDefaultHierarchy.h"
struct FPoseWatchManagerItemSelection;
class SPoseWatchManager;
class FPoseWatchManagerDefaultMode
{
public:
FPoseWatchManagerDefaultMode(SPoseWatchManager* InPoseWatchManager);
void Rebuild();
bool ParseDragDrop(FPoseWatchManagerDragDropPayload& OutPayload, const FDragDropOperation& Operation) const;
FPoseWatchManagerDragValidationInfo ValidateDrop(const IPoseWatchManagerTreeItem& DropTarget, const FPoseWatchManagerDragDropPayload& Payload) const;
void OnDrop(IPoseWatchManagerTreeItem& DropTarget, const FPoseWatchManagerDragDropPayload& Payload, const FPoseWatchManagerDragValidationInfo& ValidationInfo) const;
TSharedPtr<FDragDropOperation> CreateDragDropOperation(const TArray<FPoseWatchManagerTreeItemPtr>& InTreeItems) const;
FReply OnDragOverItem(const FDragDropEvent& Event, const IPoseWatchManagerTreeItem& Item) const;
int32 GetTypeSortPriority(const IPoseWatchManagerTreeItem& Item) const { return 0; }
SPoseWatchManager* PoseWatchManager;
TUniquePtr<FPoseWatchManagerDefaultHierarchy> Hierarchy;
};