// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #define LOCTEXT_NAMESPACE "FVisualLoggerCommands" class FVisualLoggerCommands : public TCommands { public: /** Default constructor. */ FVisualLoggerCommands() : TCommands("VisualLogger", NSLOCTEXT("Contexts", "VisualLogger", "Visual Logger"), NAME_None, "LogVisualizerStyle") { } public: // TCommands interface virtual void RegisterCommands() override { UI_COMMAND(StartRecording, "Start", "Start the debugger", EUserInterfaceActionType::Button, FInputGesture()); UI_COMMAND(StopRecording, "Stop", "Step over the current message", EUserInterfaceActionType::Button, FInputGesture()); UI_COMMAND(Pause, "Pause", "Stop the debugger", EUserInterfaceActionType::Button, FInputGesture()); UI_COMMAND(Resume, "Resume", "Stop the debugger", EUserInterfaceActionType::Button, FInputGesture()); UI_COMMAND(FreeCamera, "FreeCamera", "Enable free camera", EUserInterfaceActionType::ToggleButton, FInputGesture()); UI_COMMAND(Load, "Load", "Load external vlogs", EUserInterfaceActionType::Button, FInputGesture()); UI_COMMAND(Save, "Save", "Save selected data to vlog file", EUserInterfaceActionType::Button, FInputGesture()); UI_COMMAND(ToggleGraphs, "ToggleGraphs", "Toggle graphs visualization on/off", EUserInterfaceActionType::ToggleButton, FInputGesture()); } public: TSharedPtr StartRecording; TSharedPtr StopRecording; TSharedPtr Pause; TSharedPtr Resume; TSharedPtr FreeCamera; TSharedPtr Load; TSharedPtr Save; TSharedPtr ToggleGraphs; }; #undef LOCTEXT_NAMESPACE