summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-31 02:55:26 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-31 02:55:26 +0000
commitb0d28814ecdd29d3f33ab926b3ff3c325675e3b2 (patch)
tree57878c3e9900db640a34df7c319dbd930c18ab24 /src/gui
parent3b1cb45812fe4308073057c27837bc0c69a5d35e (diff)
downloadmana-client-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.tar.gz
mana-client-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.tar.bz2
mana-client-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.tar.xz
mana-client-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.zip
Various small cleanups.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/login.cpp1
-rw-r--r--src/gui/scrollarea.cpp3
-rw-r--r--src/gui/windowcontainer.cpp1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 696e4c6f..836c1c14 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -24,7 +24,6 @@
#include "login.h"
#include <string>
-#include <sstream>
#include <guichan/widgets/label.hpp>
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp
index d1873cb5..7f39b5a8 100644
--- a/src/gui/scrollarea.cpp
+++ b/src/gui/scrollarea.cpp
@@ -199,7 +199,6 @@ void ScrollArea::draw(gcn::Graphics *graphics)
if (mContent)
{
- gcn::Rectangle contdim = mContent->getDimension();
graphics->pushClipArea(getContentDimension());
if (mContent->getBorderSize() > 0)
@@ -214,7 +213,7 @@ void ScrollArea::draw(gcn::Graphics *graphics)
graphics->popClipArea();
}
- graphics->pushClipArea(contdim);
+ graphics->pushClipArea(mContent->getDimension());
mContent->draw(graphics);
graphics->popClipArea();
graphics->popClipArea();
diff --git a/src/gui/windowcontainer.cpp b/src/gui/windowcontainer.cpp
index c42d5ccf..b79e39de 100644
--- a/src/gui/windowcontainer.cpp
+++ b/src/gui/windowcontainer.cpp
@@ -21,7 +21,6 @@
* $Id$
*/
-#include <iostream>
#include "windowcontainer.h"
WindowContainer::WindowContainer()