summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-21 17:49:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-21 18:04:15 +0300
commitf6e795cc95dce10e1df44a89bd03539e72888a32 (patch)
treec20a2eb1546f0c2ea17329b4c2c790c6ef1a23ad /src/gui/widgets/avatarlistbox.cpp
parent005d429599088b523e4f62326824c7fb51ba9c63 (diff)
downloadmv-f6e795cc95dce10e1df44a89bd03539e72888a32.tar.gz
mv-f6e795cc95dce10e1df44a89bd03539e72888a32.tar.bz2
mv-f6e795cc95dce10e1df44a89bd03539e72888a32.tar.xz
mv-f6e795cc95dce10e1df44a89bd03539e72888a32.zip
Add attack filter char commands.
And place avatar list box separator without left padding.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 8309ad156..f3bdb6a45 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -258,7 +258,10 @@ void AvatarListBox::draw(gcn::Graphics *gcnGraphics)
graphics->setColor(Theme::getThemeColor(Theme::TEXT));
// Draw Name
- graphics->drawText(text, 15, y);
+ if (a->getType() == MapItem::SEPARATOR)
+ graphics->drawText(text, 2, y);
+ else
+ graphics->drawText(text, 15, y);
if (a->getDisplayBold())
graphics->setFont(getFont());