// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "LyraTabListWidgetBase.h" #include "UI/Foundation/LyraButtonBase.h" #include "UObject/SoftObjectPtr.h" #include "UObject/UObjectGlobals.h" #include "LyraTabButtonBase.generated.h" class UCommonLazyImage; class UObject; struct FFrame; struct FSlateBrush; UCLASS(Abstract, Blueprintable, meta = (DisableNativeTick)) class LYRAGAME_API ULyraTabButtonBase : public ULyraButtonBase, public ILyraTabButtonInterface { GENERATED_BODY() public: void SetIconFromLazyObject(TSoftObjectPtr LazyObject); void SetIconBrush(const FSlateBrush& Brush); protected: UFUNCTION() virtual void SetTabLabelInfo_Implementation(const FLyraTabDescriptor& TabLabelInfo) override; private: UPROPERTY(meta = (BindWidgetOptional)) TObjectPtr LazyImage_Icon; };