2019-12-27 09:26:59 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-04-02 11:26:55 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Framework/Commands/Commands.h"
|
|
|
|
|
#include "ControlRigEditorStyle.h"
|
|
|
|
|
|
|
|
|
|
class FControlRigStackCommands : public TCommands<FControlRigStackCommands>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
FControlRigStackCommands() : TCommands<FControlRigStackCommands>
|
|
|
|
|
(
|
|
|
|
|
"ControlRigStack",
|
|
|
|
|
NSLOCTEXT("Contexts", "RigStack", "Execution Stack"),
|
|
|
|
|
NAME_None, // "MainFrame" // @todo Fix this crash
|
|
|
|
|
FControlRigEditorStyle::Get().GetStyleSetName() // Icon Style Set
|
|
|
|
|
)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
/** Focuses on a selected operator's node */
|
|
|
|
|
TSharedPtr< FUICommandInfo > FocusOnSelection;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Initialize commands
|
|
|
|
|
*/
|
|
|
|
|
virtual void RegisterCommands() override;
|
|
|
|
|
};
|