You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 6272a74d2f6d177be3c6fdda #rb Matt.Kuhlenschmidt #ROBOMERGE-OWNER: Lauren.Barnes #ROBOMERGE-AUTHOR: lauren.barnes #ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690) #ROBOMERGE-CONFLICT from-shelf [CL 20105363 by Lauren Barnes in ue5-main branch]
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Framework/Commands/Commands.h"
|
|
#include "Styling/AppStyle.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class FDesignerCommands : public TCommands<FDesignerCommands>
|
|
{
|
|
public:
|
|
FDesignerCommands()
|
|
: TCommands<FDesignerCommands>
|
|
(
|
|
TEXT("WidgetDesigner"), // Context name for fast lookup
|
|
NSLOCTEXT("Contexts", "DesignerCommands", "UMG Designer Commands"), // Localized context name for displaying
|
|
NAME_None, // Parent
|
|
FAppStyle::GetAppStyleSetName() // Icon Style Set
|
|
)
|
|
{
|
|
}
|
|
|
|
/** Layout Mode */
|
|
TSharedPtr< FUICommandInfo > LayoutTransform;
|
|
|
|
/** Render Mode */
|
|
TSharedPtr< FUICommandInfo > RenderTransform;
|
|
|
|
/** Enables or disables snapping to the grid when dragging objects around */
|
|
TSharedPtr< FUICommandInfo > LocationGridSnap;
|
|
|
|
/** Enables or disables snapping to a grid when rotating objects */
|
|
TSharedPtr< FUICommandInfo > RotationGridSnap;
|
|
|
|
/** Toggle Showing Outlines */
|
|
TSharedPtr< FUICommandInfo > ToggleOutlines;
|
|
|
|
/** Toggle if we care about locking */
|
|
TSharedPtr< FUICommandInfo > ToggleRespectLocks;
|
|
|
|
/** Toggle the localization preview on/off */
|
|
TSharedPtr< FUICommandInfo > ToggleLocalizationPreview;
|
|
|
|
public:
|
|
/** Registers our commands with the binding system */
|
|
virtual void RegisterCommands() override;
|
|
};
|
|
|
|
|