Files
UnrealEngineUWP/Engine/Source/Runtime/Slate/Public/Framework/Application/NavigationConfig.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

33 lines
721 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "InputCoreTypes.h"
struct FKeyEvent;
enum class EUINavigation : uint8;
/** This class is used to control which FKeys should move focus */
class SLATE_API FNavigationConfig : public TSharedFromThis<FNavigationConfig>
{
public:
/** Keys that should move focus left */
TSet<FKey> Left;
/** Keys that should move focus right */
TSet<FKey> Right;
/** Keys that should move focus up*/
TSet<FKey> Up;
/** Keys that should move focus down*/
TSet<FKey> Down;
FNavigationConfig();
virtual ~FNavigationConfig();
virtual EUINavigation GetNavigationDirectionFromKey(const FKeyEvent& InKeyEvent) const;
};