Files
UnrealEngineUWP/Engine/Source/Editor/LevelEditor/Public/LevelEditorModesActions.h
2014-03-14 14:13:41 -04:00

37 lines
782 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "IToolkit.h"
#include "LightmapResRatioAdjust.h"
/**
* Unreal level editor actions
*/
class LEVELEDITOR_API FLevelEditorModesCommands : public TCommands<FLevelEditorModesCommands>
{
public:
FLevelEditorModesCommands() : TCommands<FLevelEditorModesCommands>
(
"LevelEditorModes", // Context name for fast lookup
NSLOCTEXT("Contexts", "LevelEditorModes", "Level Editor Modes"), // Localized context name for displaying
"MainFrame", // Parent
FEditorStyle::GetStyleSetName() // Icon Style Set
)
{
}
/**
* Initialize commands
*/
virtual void RegisterCommands() OVERRIDE;
public:
/** Editor mode commands */
TArray< TSharedPtr< FUICommandInfo > > EditorModeCommands;
};