ExtenderSlotConnectionPin.h 906 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <Components/Slots/SlotConnectionPin.h>
  10. namespace GraphCanvas
  11. {
  12. class ExtenderSlotConnectionPin
  13. : public SlotConnectionPin
  14. {
  15. public:
  16. AZ_RTTI(ExtenderSlotConnectionPin, "{E495A7EA-98E2-4A7B-B776-097F2CBF6636}", SlotConnectionPin);
  17. AZ_CLASS_ALLOCATOR(ExtenderSlotConnectionPin, AZ::SystemAllocator);
  18. ExtenderSlotConnectionPin(const AZ::EntityId& slotId);
  19. ~ExtenderSlotConnectionPin();
  20. void OnRefreshStyle() override;
  21. void DrawConnectionPin(QPainter* painter, QRectF drawRect, bool isConnected) override;
  22. protected:
  23. void OnSlotClicked() override;
  24. };
  25. }