Skip to content

Commit

Permalink
Update DefaultConnectionPainter.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
paceholder authored Aug 16, 2024
1 parent 593867f commit b8c6cbd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/DefaultConnectionPainter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ class DefaultConnectionPainter : public AbstractConnectionPainter
public:
void paint(QPainter *painter, ConnectionGraphicsObject const &cgo) const override;
QPainterPath getPainterStroke(ConnectionGraphicsObject const &cgo) const override;
private:
QPainterPath cubicPath(ConnectionGraphicsObject const &connection);
void drawSketchLine(QPainter *painter, ConnectionGraphicsObject const &cgo);
void drawHoveredOrSelected(QPainter *painter, ConnectionGraphicsObject const &cgo);
void drawNormalLine(QPainter *painter, ConnectionGraphicsObject const &cgo);
#ifdef NODE_DEBUG_DRAWING
void debugDrawing(QPainter *painter, ConnectionGraphicsObject const &cgo);
#endif
};

} // namespace QtNodes

0 comments on commit b8c6cbd

Please sign in to comment.