You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
33 lines
721 B
C++
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;
|
|
};
|