summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-18 14:27:04 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-18 14:27:04 +0000
commit2008dd972c0fee0c57d41770327059b817b3b142 (patch)
treeda1e21022be53738ef71c41307215649e1c4547e /src/gui/chat.cpp
parenta16f1463522f8a73c44d0d0c2aea53e5aada6859 (diff)
downloadmana-client-2008dd972c0fee0c57d41770327059b817b3b142.tar.gz
mana-client-2008dd972c0fee0c57d41770327059b817b3b142.tar.bz2
mana-client-2008dd972c0fee0c57d41770327059b817b3b142.tar.xz
mana-client-2008dd972c0fee0c57d41770327059b817b3b142.zip
*** empty log message ***
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 661fbb08..8472a993 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -96,13 +96,13 @@ void ChatBox::draw(gcn::Graphics *graphics)
getAbsolutePosition(x, y);
- SDL_Rect ScreenRect;
- ScreenRect.w = getWidth();
- ScreenRect.h = getHeight();
- ScreenRect.x = x;
- ScreenRect.y = y;
- Uint32 Color = SDL_MapRGBA(screen->format, 255, 255, 255, 120);
- SDL_FillRect(screen, &ScreenRect, Color);
+ SDL_Rect screenRect;
+ screenRect.w = getWidth();
+ screenRect.h = getHeight();
+ screenRect.x = x;
+ screenRect.y = y;
+ Uint32 boxColor = SDL_MapRGBA(screen->format, 255, 255, 255, 120);
+ SDL_FillRect(screen, &screenRect, boxColor);
for (iter = chatlog.begin(); iter != chatlog.end(); iter++) {
line = *iter;