aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/junction.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/junction.h')
-rw-r--r--qtmips_gui/coreview/junction.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_gui/coreview/junction.h b/qtmips_gui/coreview/junction.h
index 1a8f5d7..2eaa732 100644
--- a/qtmips_gui/coreview/junction.h
+++ b/qtmips_gui/coreview/junction.h
@@ -10,17 +10,18 @@ namespace coreview {
class Junction : public QGraphicsItem {
public:
- Junction();
+ Junction(bool point = true);
~Junction();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
void setPos(qreal x, qreal y);
- Connector *new_connector(qreal angle);
+ Connector *new_connector(enum Connector::Axis axis = Connector::AX_X);
private:
QList<Connector*> cons;
+ bool point;
};
}