Files
UnrealEngine/Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasoundEditor/Private/HarmonixMetasoundSlateStyle.h
2025-05-18 13:04:45 +08:00

24 lines
591 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Styling/SlateStyle.h"
namespace HarmonixMetasoundEditor
{
class FSlateStyle final
: public FSlateStyleSet
{
public:
FSlateStyle();
static const FSlateStyle& Get();
void SetCustomPinStyle(const FName PinType, const FLinearColor& PinColor, FSlateBrush* ConnectedIcon, FSlateBrush* DisconnectedIcon);
const FLinearColor& GetPinColor(FName PinType) const;
const FSlateBrush* GetConnectedIcon(FName PinType) const;
const FSlateBrush* GetDisconnectedIcon(FName PinType) const;
~FSlateStyle();
};
}