diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-18 15:55:52 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-18 15:55:52 +0000 |
commit | d0333c99e0ff4c5510875bf8993056875d6c93af (patch) | |
tree | a0bb673db36b0cc0ca750500c6409b08e6eb40b6 /src/gui/connection.cpp | |
parent | d3175115354bb2417f01877a96d0068e2f2c875d (diff) | |
download | mana-d0333c99e0ff4c5510875bf8993056875d6c93af.tar.gz mana-d0333c99e0ff4c5510875bf8993056875d6c93af.tar.bz2 mana-d0333c99e0ff4c5510875bf8993056875d6c93af.tar.xz mana-d0333c99e0ff4c5510875bf8993056875d6c93af.zip |
Header, whitespace and intendation cleanups.
Diffstat (limited to 'src/gui/connection.cpp')
-rw-r--r-- | src/gui/connection.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp index bfa69f23..ecb98aee 100644 --- a/src/gui/connection.cpp +++ b/src/gui/connection.cpp @@ -29,7 +29,6 @@ #include "progressbar.h" #include "../game.h" -#include "../graphics.h" #include "../log.h" #include "../main.h" @@ -50,12 +49,12 @@ ConnectionDialog::ConnectionDialog(): 200 - 10, 20, 128, 128, 128); mLabel = new gcn::Label("Connecting..."); mLabel->setPosition(5, mProgressBar->getY() - 25); - + add(mLabel); add(mCancelButton); add(mProgressBar); setLocationRelativeTo(getParent()); - + const char *host = iptostring(map_address); openConnection(host, map_port); } @@ -73,7 +72,7 @@ void ConnectionDialog::logic() } mProgressBar->setProgress(mProgress); Window::logic(); - + switch (mStatus) { case NET_CONNECTING: |