RealtimeStyleTransferRuntime/Source/LyraGame/UI/Foundation/LyraConfirmationScreen.h

57 lines
1.5 KiB
C
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CommonActivatableWidget.h"
#include "Messaging/CommonGameDialog.h"
#include "LyraConfirmationScreen.generated.h"
class UCommonTextBlock;
class UCommonRichTextBlock;
class UDynamicEntryBox;
class UCommonBorder;
/**
*
*/
UCLASS(Abstract, BlueprintType, Blueprintable)
class ULyraConfirmationScreen : public UCommonGameDialog
{
GENERATED_BODY()
public:
virtual void SetupDialog(UCommonGameDialogDescriptor* Descriptor, FCommonMessagingResultDelegate ResultCallback) override;
virtual void KillDialog() override;
protected:
virtual void NativeOnInitialized() override;
virtual void CloseConfirmationWindow(ECommonMessagingResult Result);
#if WITH_EDITOR
virtual void ValidateCompiledDefaults(IWidgetCompilerLog& CompileLog) const override;
#endif
private:
UFUNCTION()
FEventReply HandleTapToCloseZoneMouseButtonDown(FGeometry MyGeometry, const FPointerEvent& MouseEvent);
FCommonMessagingResultDelegate OnResultCallback;
private:
UPROPERTY(Meta = (BindWidget))
2022-09-13 07:18:28 +00:00
TObjectPtr<UCommonTextBlock> Text_Title;
2022-05-23 18:41:30 +00:00
UPROPERTY(Meta = (BindWidget))
2022-09-13 07:18:28 +00:00
TObjectPtr<UCommonRichTextBlock> RichText_Description;
2022-05-23 18:41:30 +00:00
UPROPERTY(Meta = (BindWidget))
2022-09-13 07:18:28 +00:00
TObjectPtr<UDynamicEntryBox> EntryBox_Buttons;
2022-05-23 18:41:30 +00:00
UPROPERTY(Meta = (BindWidget))
2022-09-13 07:18:28 +00:00
TObjectPtr<UCommonBorder> Border_TapToCloseZone;
2022-05-23 18:41:30 +00:00
UPROPERTY(EditDefaultsOnly, meta = (RowType = CommonInputActionDataBase))
FDataTableRowHandle CancelAction;
};