28 lines
586 B
C++
28 lines
586 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/ScriptMacros.h"
|
|
#include "Binding/PropertyBinding.h"
|
|
#include "WidgetBinding.generated.h"
|
|
|
|
class UWidget;
|
|
|
|
UCLASS(MinimalAPI)
|
|
class UWidgetBinding : public UPropertyBinding
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UMG_API UWidgetBinding();
|
|
|
|
UMG_API virtual bool IsSupportedSource(FProperty* Property) const override;
|
|
UMG_API virtual bool IsSupportedDestination(FProperty* Property) const override;
|
|
|
|
UFUNCTION()
|
|
UMG_API UWidget* GetValue() const;
|
|
};
|