A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
graphlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove email address from README file.
[graphlib.git]
/
chateaux
/
chateaux.cpp
diff --git
a/chateaux/chateaux.cpp
b/chateaux/chateaux.cpp
index
8726d26
..
6ad81b7
100644
(file)
--- a/
chateaux/chateaux.cpp
+++ b/
chateaux/chateaux.cpp
@@
-218,7
+218,7
@@
void initialise(DrawingWindow& w)
Qt::AlignHCenter);
std::stringstream s;
s << score1 << " / " << score2;
Qt::AlignHCenter);
std::stringstream s;
s << score1 << " / " << score2;
- w.drawText(rtowX(w, 0), rtowY(w, 0) + 8, s.str()
.c_str()
,
+ w.drawText(rtowX(w, 0), rtowY(w, 0) + 8, s.str(),
Qt::AlignHCenter);
}
Qt::AlignHCenter);
}
@@
-322,7
+322,7
@@
int jeu1(DrawingWindow& w)
msg << " a perdu ! ";
w.setColor("darkred");
w.setBgColor("white");
msg << " a perdu ! ";
w.setColor("darkred");
w.setBgColor("white");
- w.drawTextBg(w.width / 2, w.height / 3, msg.str()
.c_str()
,
+ w.drawTextBg(w.width / 2, w.height / 3, msg.str(),
Qt::AlignCenter);
w.sync();
std::cout << msg.str() << std::endl;
Qt::AlignCenter);
w.sync();
std::cout << msg.str() << std::endl;