DRG-Femboy-Voice/Source/FSD/Public/MouseCursorWidget.h
2025-04-15 12:39:31 -07:00

31 lines
817 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "EFSDInputSource.h"
#include "FSDUserWidget.h"
#include "MouseCursorWidget.generated.h"
UCLASS(Abstract, Blueprintable, EditInlineNew)
class UMouseCursorWidget : public UFSDUserWidget {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
EFSDInputSource TargetInput;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool bIsHovering;
public:
UMouseCursorWidget();
protected:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnUnhover();
UFUNCTION(BlueprintCallable)
void OnInputSourceChanged(EFSDInputSource Source);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnHover();
};