RealtimeStyleTransferRuntime/Source/LyraGame/UI/LyraSettingScreen.h

43 lines
1.1 KiB
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "Widgets/GameSettingScreen.h"
#include "LyraSettingScreen.generated.h"
class ULyraTabListWidgetBase;
UCLASS(Abstract, meta = (Category = "Settings", DisableNativeTick))
class ULyraSettingScreen : public UGameSettingScreen
{
GENERATED_BODY()
public:
protected:
virtual void NativeOnInitialized() override;
virtual UGameSettingRegistry* CreateRegistry() override;
void HandleBackAction();
void HandleApplyAction();
void HandleCancelChangesAction();
virtual void OnSettingsDirtyStateChanged_Implementation(bool bSettingsDirty) override;
protected:
UPROPERTY(BlueprintReadOnly, Category = Input, meta = (BindWidget, OptionalWidget = true, AllowPrivateAccess = true))
ULyraTabListWidgetBase* TopSettingsTabs;
UPROPERTY(EditDefaultsOnly)
FDataTableRowHandle BackInputActionData;
UPROPERTY(EditDefaultsOnly)
FDataTableRowHandle ApplyInputActionData;
UPROPERTY(EditDefaultsOnly)
FDataTableRowHandle CancelChangesInputActionData;
FUIActionBindingHandle BackHandle;
FUIActionBindingHandle ApplyHandle;
FUIActionBindingHandle CancelChangesHandle;
};