2023-10-01 23:51:53 +01:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#include "Blueprint/UserWidget.h"
|
|
|
|
#include "Components/Button.h"
|
|
|
|
#include "Components/VerticalBox.h"
|
|
|
|
#include "PauseUIWidget.generated.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
UCLASS()
|
|
|
|
class NAKATOMI_API UPauseUIWidget : public UUserWidget
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
public:
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
|
|
|
|
UVerticalBox* VerticalBox;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
|
|
|
|
UButton* ResumeButton;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
|
|
|
|
UButton* OptionsButton;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
|
|
|
|
UButton* SaveButton;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
|
|
|
|
UButton* QuitButton;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
|
2023-10-03 22:52:28 +01:00
|
|
|
UButton* ExitGameButton;
|
2023-10-01 23:51:53 +01:00
|
|
|
|
|
|
|
public:
|
|
|
|
virtual void NativeConstruct() override;
|
|
|
|
|
|
|
|
private:
|
2023-10-03 22:52:28 +01:00
|
|
|
UFUNCTION()
|
2023-10-01 23:51:53 +01:00
|
|
|
void ResumeButtonOnClicked();
|
|
|
|
|
2023-10-03 22:52:28 +01:00
|
|
|
UFUNCTION()
|
2023-10-01 23:51:53 +01:00
|
|
|
void OptionsButtonOnClicked();
|
|
|
|
|
2023-10-03 22:52:28 +01:00
|
|
|
UFUNCTION()
|
2023-10-01 23:51:53 +01:00
|
|
|
void SaveButtonOnClicked();
|
|
|
|
|
2023-10-03 22:52:28 +01:00
|
|
|
UFUNCTION()
|
2023-10-01 23:51:53 +01:00
|
|
|
void QuitButtonOnClicked();
|
|
|
|
|
2023-10-03 22:52:28 +01:00
|
|
|
UFUNCTION()
|
|
|
|
void ExitGameButtonOnClicked();
|
2023-10-01 23:51:53 +01:00
|
|
|
};
|