diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 00:35:37 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 00:35:37 +0000 |
commit | 86c3960b6f72f007ff0529c73fa60888e49c0b35 (patch) | |
tree | c59b56c87440f22e43b55f304e08699ea3b8d9a6 /src | |
parent | 7b81d4151ef4fe04a5aabcc4fe258ee40115ef0b (diff) | |
download | mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.tar.gz mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.tar.bz2 mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.tar.xz mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.zip |
Little margin.
Diffstat (limited to 'src')
-rw-r--r-- | src/graphic/graphic.cpp | 1 | ||||
-rw-r--r-- | src/gui/chat.cpp | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index b5dce7a2..c1cde98a 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -306,7 +306,6 @@ void Engine::draw() int sy = y - camera_y; #ifdef DEBUG - textprintf_ex(buffer, font, sx*32, sy*32+40, makecol(255, 255, 255), -1, "%i,%i | %i", x, y, being->frame); rect(buffer, sx*32, sy*32, sx*32+32, sy*32+32, makecol(0,0,255)); #endif diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 29a6a5bb..4d1f23ce 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -108,25 +108,25 @@ void ChatBox::draw(gcn::Graphics *graphics) switch (line.own) { case BY_GM: graphics->setColor(gcn::Color(97, 156, 236)); // GM Bue - graphics->drawText("Global announcement: ", 1, texty); + graphics->drawText("Global announcement: ", 5, texty); graphics->setColor(gcn::Color(39, 197, 39)); // Green graphics->drawText(line.text, 100, texty); break; case BY_PLAYER: graphics->setColor(gcn::Color(255, 246, 98)); // Yellow - graphics->drawText(line.nick, 1, texty); + graphics->drawText(line.nick, 5, texty); graphics->setColor(gcn::Color(255, 255, 255)); // White graphics->drawText(line.text, 100, texty); break; case BY_OTHER: graphics->setColor(gcn::Color(97, 156, 236)); // GM Bue - graphics->drawText(line.nick, 1, texty); + graphics->drawText(line.nick, 5, texty); graphics->setColor(gcn::Color(39, 197, 39)); // Green graphics->drawText(line.text, 100, texty); break; default: graphics->setColor(gcn::Color(83, 233, 246)); // Light blue - graphics->drawText(line.text, 1, texty); + graphics->drawText(line.text, 5, texty); } if (i >= n) { |