summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-16 00:35:37 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-16 00:35:37 +0000
commit86c3960b6f72f007ff0529c73fa60888e49c0b35 (patch)
treec59b56c87440f22e43b55f304e08699ea3b8d9a6 /src/gui/chat.cpp
parent7b81d4151ef4fe04a5aabcc4fe258ee40115ef0b (diff)
downloadmana-86c3960b6f72f007ff0529c73fa60888e49c0b35.tar.gz
mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.tar.bz2
mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.tar.xz
mana-86c3960b6f72f007ff0529c73fa60888e49c0b35.zip
Little margin.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp8
1 files changed, 4 insertions, 4 deletions
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) {