ExecutionSlotConnectionPin.h 925 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 ExecutionSlotConnectionPin
  13. : public SlotConnectionPin
  14. {
  15. public:
  16. AZ_RTTI(ExecutionSlotConnectionPin, "{3D4D5623-133A-4C0B-8D5F-D50813B69031}", SlotConnectionPin);
  17. AZ_CLASS_ALLOCATOR(ExecutionSlotConnectionPin, AZ::SystemAllocator);
  18. ExecutionSlotConnectionPin(const AZ::EntityId& slotId);
  19. ~ExecutionSlotConnectionPin();
  20. void OnRefreshStyle() override;
  21. void DrawConnectionPin(QPainter* painter, QRectF drawRect, bool isConnected) override;
  22. private:
  23. Styling::StyleHelper m_connectedStyle;
  24. };
  25. }