42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Framework/Commands/Commands.h"
|
|
#include "FLESHEditorStyle.h"
|
|
|
|
/**
|
|
* FLESH Editor Commands
|
|
* Defines all commands for the FLESH editor
|
|
*/
|
|
class FFLESHEditorCommands : public TCommands<FFLESHEditorCommands>
|
|
{
|
|
public:
|
|
FFLESHEditorCommands()
|
|
: TCommands<FFLESHEditorCommands>(
|
|
TEXT("FLESHEditor"),
|
|
NSLOCTEXT("Contexts", "FLESHEditor", "FLESH Editor"),
|
|
NAME_None,
|
|
FFLESHEditorStyle::GetStyleSetName())
|
|
{
|
|
}
|
|
|
|
// TCommands interface
|
|
virtual void RegisterCommands() override;
|
|
// End of TCommands interface
|
|
|
|
// Open FLESH Editor command
|
|
TSharedPtr<FUICommandInfo> OpenFLESHEditor;
|
|
|
|
// Open Dismemberment Graph Editor command
|
|
TSharedPtr<FUICommandInfo> OpenDismembermentGraphEditor;
|
|
|
|
// Open Anatomical Layer Editor command
|
|
TSharedPtr<FUICommandInfo> OpenAnatomicalLayerEditor;
|
|
|
|
// Open Boolean Cut Tool command
|
|
TSharedPtr<FUICommandInfo> OpenBooleanCutTool;
|
|
|
|
// Open Blood System Editor command
|
|
TSharedPtr<FUICommandInfo> OpenBloodSystemEditor;
|
|
};
|