42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "SGraphPalette.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
|
|
struct FGraphActionListBuilderBase;
|
|
class IClassViewerFilter;
|
|
class FClassViewerFilterFuncs;
|
|
class FClassViewerInitializationOptions;
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
class SSoundCuePalette : public SGraphPalette
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS( SSoundCuePalette ) {};
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs);
|
|
virtual ~SSoundCuePalette() override;
|
|
|
|
/** Internal data used to facilitate sound node filtering */
|
|
struct FSoundNodeFilterData
|
|
{
|
|
TSharedPtr<FClassViewerInitializationOptions> InitOptions;
|
|
TSharedPtr<IClassViewerFilter> ClassFilter;
|
|
TSharedPtr<FClassViewerFilterFuncs> FilterFuncs;
|
|
};
|
|
|
|
protected:
|
|
/** Callback used to populate all actions list in SGraphActionMenu */
|
|
virtual void CollectAllActions(FGraphActionListBuilderBase& OutAllActions) override;
|
|
|
|
/** Callback when the class viewer filter has been modified */
|
|
void OnGlobalClassViewerFilterModified();
|
|
|
|
FSoundNodeFilterData FilterData;
|
|
};
|