Files
o3de/Gems/GraphCanvas/Code/Source/Components/Slots/Extender/ExtenderSlotConnectionPin.h
T
2021-06-23 10:55:22 -07:00

32 lines
808 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <Components/Slots/SlotConnectionPin.h>
namespace GraphCanvas
{
class ExtenderSlotConnectionPin
: public SlotConnectionPin
{
public:
AZ_RTTI(ExtenderSlotConnectionPin, "{E495A7EA-98E2-4A7B-B776-097F2CBF6636}", SlotConnectionPin);
AZ_CLASS_ALLOCATOR(ExtenderSlotConnectionPin, AZ::SystemAllocator, 0);
ExtenderSlotConnectionPin(const AZ::EntityId& slotId);
~ExtenderSlotConnectionPin();
void OnRefreshStyle() override;
void DrawConnectionPin(QPainter* painter, QRectF drawRect, bool isConnected) override;
protected:
void OnSlotClicked() override;
};
}