// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Widgets/DeclarativeSyntaxSupport.h" #include "Widgets/SCompoundWidget.h" #include "AssetThumbnail.h" class SHorizontalBox; class FWorkflowCentricApplication; class SAssetFamilyShortcutBar : public SCompoundWidget { public: SLATE_BEGIN_ARGS(SAssetFamilyShortcutBar) {} SLATE_END_ARGS() void Construct(const FArguments& InArgs, const TSharedRef& InHostingApp, const TSharedRef& InAssetFamily); private: void BuildShortcuts(); void OnAssetFamilyChanged(); /** The thumbnail pool for displaying asset shortcuts */ TSharedPtr ThumbnailPool; /** Container widget for shortcuts */ TSharedPtr HorizontalBox; /** Asset family we represent */ TSharedPtr AssetFamily; /** App we are embedded in */ TWeakPtr WeakHostingApp; };