Files
UnrealEngine/Engine/Source/Editor/GraphEditor/Public/KismetPins/SGraphPinExec.h
2025-05-18 13:04:45 +08:00

34 lines
792 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "SGraphPin.h"
#include "Templates/SharedPointer.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SWidget.h"
class SWidget;
class UEdGraphPin;
struct FSlateBrush;
class GRAPHEDITOR_API SGraphPinExec : public SGraphPin
{
public:
SLATE_BEGIN_ARGS(SGraphPinExec) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UEdGraphPin* InPin);
protected:
//~ Begin SGraphPin Interface
virtual TSharedRef<SWidget> GetDefaultValueWidget() override;
virtual const FSlateBrush* GetPinIcon() const override;
//~ End SGraphPin Interface
void CachePinIcons();
const FSlateBrush* CachedImg_Pin_ConnectedHovered;
const FSlateBrush* CachedImg_Pin_DisconnectedHovered;
};