Optimizing some UI

This commit is contained in:
martinluckyrobots
2025-04-15 22:06:41 +08:00
parent 4692cd734e
commit 78f94c5985
13 changed files with 123 additions and 23 deletions

View File

@ -7,10 +7,6 @@
#include "SharedDef.h"
#include "CaptureSettingsUserWidget.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnOpenMenuStateChanged, bool, Open);
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnStartCapture);
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnStopCapture);
class UTaskListViewUserWidget;
/**
*
@ -27,15 +23,6 @@ public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool bIsOpen;
UPROPERTY(BlueprintCallable, BlueprintAssignable, Category = "Event")
FOnOpenMenuStateChanged OnOpenMenuStateChanged;
UPROPERTY(BlueprintCallable, BlueprintAssignable, Category = "Event")
FOnStartCapture OnStartCapture;
UPROPERTY(BlueprintCallable, BlueprintAssignable, Category = "Event")
FOnStopCapture OnStopCapture;
public:
UFUNCTION(BlueprintCallable)
void ToggleMenu();