You've already forked LuckyWorld
62 lines
1.4 KiB
C++
62 lines
1.4 KiB
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "SharedDef.h"
|
|
#include "CaptureSettingsUserWidget.generated.h"
|
|
|
|
class UTaskListViewUserWidget;
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class LUCKYWORLDV2_API UCaptureSettingsUserWidget : public UUserWidget
|
|
{
|
|
GENERATED_BODY()
|
|
protected:
|
|
virtual void NativeConstruct() override;
|
|
void OnAnimationFinished(const UWidgetAnimation* Animation);
|
|
|
|
public:
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
bool bIsOpen;
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable)
|
|
void ToggleMenu();
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void DoStopCapture();
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void ToggleRandomPannel();
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void BPRefreshTaskList();
|
|
|
|
public:
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void BPOnRandomMeshesUpdated();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void BPSaveSettings();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void BPLoadSettings();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void ToggleMenuDisplay();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void BPChangeCaptureState();
|
|
|
|
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
|
|
bool CheckIsStopAnim(const UWidgetAnimation* Animation);
|
|
|
|
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
|
|
UTaskListViewUserWidget* GetTaskListViewUserWidget();
|
|
};
|