aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud.guezennec@ext.mpsa.com>2016-02-04 17:58:00 +0100
committerRenaud Guezennec <renaud.guezennec@ext.mpsa.com>2016-02-04 17:58:00 +0100
commitc671d21b54d43dbd6112f3ab50fc6ebd63dc4aef (patch)
tree34ad9a7a84e0e71cb45f8b381eccae431ca39d25 /node
parentc796cef9dbbf48dcaf21dc4f4ea62db2ba4fe629 (diff)
downloadOneRoll-c671d21b54d43dbd6112f3ab50fc6ebd63dc4aef.tar.gz
OneRoll-c671d21b54d43dbd6112f3ab50fc6ebd63dc4aef.zip
Add Management of Color
Diffstat (limited to 'node')
-rw-r--r--node/helpnode.h2
-rw-r--r--node/ifnode.cpp11
-rw-r--r--node/ifnode.h4
3 files changed, 12 insertions, 5 deletions
diff --git a/node/helpnode.h b/node/helpnode.h
index ba59f1f..14edde4 100644
--- a/node/helpnode.h
+++ b/node/helpnode.h
@@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (C) 2015 by Renaud Guezennec *
- * http://renaudguezennec.homelinux.org/accueil,3.html *
+ * http:://www.rolisteam.org/contact *
* *
* rolisteam is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
diff --git a/node/ifnode.cpp b/node/ifnode.cpp
index 864faf1..a8982a8 100644
--- a/node/ifnode.cpp
+++ b/node/ifnode.cpp
@@ -106,9 +106,16 @@ void IfNode::setInstructionFalse(ExecutionNode* node)
m_false = node;
}
-QString IfNode::toString(bool) const
+QString IfNode::toString(bool wl) const
{
-
+ if(wl)
+ {
+ return QString("%1 [label=\"IfNode\"]").arg(m_id);
+ }
+ else
+ {
+ return m_id;
+ }
}
qint64 IfNode::getPriority() const
diff --git a/node/ifnode.h b/node/ifnode.h
index 6f8bbcf..5872f79 100644
--- a/node/ifnode.h
+++ b/node/ifnode.h
@@ -1,6 +1,6 @@
/***************************************************************************
- * Copyright (C) 2016 by Renaud Guezennec *
- * http://renaudguezennec.homelinux.org/accueil,3.html *
+ * Copyright (C) 2015 by Renaud Guezennec *
+ * http:://www.rolisteam.org/contact *
* *
* rolisteam is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *