summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-14 22:25:54 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-14 22:25:54 +0000
commit8e1c3b592c9ebcec9e006bcc54eea55bfea4a864 (patch)
tree134de69274dad771a4cd9297a0a0617ed28a0543 /src/gui/login.cpp
parent0ce6e9e8400c326e6848688b3b865c84d96e3073 (diff)
downloadmana-8e1c3b592c9ebcec9e006bcc54eea55bfea4a864.tar.gz
mana-8e1c3b592c9ebcec9e006bcc54eea55bfea4a864.tar.bz2
mana-8e1c3b592c9ebcec9e006bcc54eea55bfea4a864.tar.xz
mana-8e1c3b592c9ebcec9e006bcc54eea55bfea4a864.zip
Removed guiGraphics global pointer and removed dependencies on gui.h in some places.
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 09e9c925..180a7f29 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -44,6 +44,8 @@
#include "../net/network.h"
+extern Graphics *graphics;
+
LoginDialog::LoginDialog():
Window("Login")
{
@@ -215,9 +217,9 @@ void login()
gui->logic();
- guiGraphics->drawImage(login_wallpaper, 0, 0);
+ graphics->drawImage(login_wallpaper, 0, 0);
gui->draw();
- guiGraphics->updateScreen();
+ graphics->updateScreen();
}
delete dialog;