summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-04 12:11:00 -0700
committerIra Rice <irarice@gmail.com>2009-02-04 12:11:00 -0700
commit9aae9a0b20f144859fc68e94b4fb9fdae6f15861 (patch)
tree802bb5eab252e2fb020749e2055e7271f04712f2
parent555e68e24f2bb7d38f7ce52ce9a43198c0ccedec (diff)
downloadmana-9aae9a0b20f144859fc68e94b4fb9fdae6f15861.tar.gz
mana-9aae9a0b20f144859fc68e94b4fb9fdae6f15861.tar.bz2
mana-9aae9a0b20f144859fc68e94b4fb9fdae6f15861.tar.xz
mana-9aae9a0b20f144859fc68e94b4fb9fdae6f15861.zip
Few more unneeded headers that weren't noticed originally in the last
commit. Also, while the overall performance improved a little, it doesn't appear to be as drastic as the last commit was suggesting. Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r--src/gui/browserbox.cpp2
-rw-r--r--src/gui/button.cpp3
-rw-r--r--src/gui/chat.cpp2
-rw-r--r--src/gui/listbox.cpp1
-rw-r--r--src/gui/shoplistbox.cpp1
-rw-r--r--src/gui/table.cpp2
-rw-r--r--src/gui/truetypefont.h1
-rw-r--r--src/gui/window.cpp2
8 files changed, 3 insertions, 11 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp
index cd5479c8..c51852bb 100644
--- a/src/gui/browserbox.cpp
+++ b/src/gui/browserbox.cpp
@@ -21,6 +21,8 @@
#include <algorithm>
+#include <guichan/graphics.hpp>
+
#include "browserbox.h"
#include "colour.h"
#include "linkhandler.h"
diff --git a/src/gui/button.cpp b/src/gui/button.cpp
index 2e6bed0a..1d3a04e4 100644
--- a/src/gui/button.cpp
+++ b/src/gui/button.cpp
@@ -19,11 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <algorithm>
-
#include <guichan/exception.hpp>
#include <guichan/font.hpp>
-#include <guichan/graphics.hpp>
#include "button.h"
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index a58600a8..f4d9763b 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <algorithm>
-
#include <guichan/focushandler.hpp>
#include "browserbox.h"
diff --git a/src/gui/listbox.cpp b/src/gui/listbox.cpp
index e56ddeeb..b63d6424 100644
--- a/src/gui/listbox.cpp
+++ b/src/gui/listbox.cpp
@@ -22,7 +22,6 @@
#include <guichan/font.hpp>
#include <guichan/graphics.hpp>
#include <guichan/listmodel.hpp>
-#include <guichan/mouseinput.hpp>
#include "colour.h"
#include "listbox.h"
diff --git a/src/gui/shoplistbox.cpp b/src/gui/shoplistbox.cpp
index ba636112..b5761535 100644
--- a/src/gui/shoplistbox.cpp
+++ b/src/gui/shoplistbox.cpp
@@ -20,7 +20,6 @@
*/
#include <guichan/font.hpp>
-#include <guichan/graphics.hpp>
#include <guichan/listmodel.hpp>
#include "colour.h"
diff --git a/src/gui/table.cpp b/src/gui/table.cpp
index 9a5c0591..af42165a 100644
--- a/src/gui/table.cpp
+++ b/src/gui/table.cpp
@@ -19,8 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <guichan/graphics.hpp>
#include <guichan/actionlistener.hpp>
+#include <guichan/graphics.hpp>
#include "colour.h"
#include "table.h"
diff --git a/src/gui/truetypefont.h b/src/gui/truetypefont.h
index 288be49a..bd338d84 100644
--- a/src/gui/truetypefont.h
+++ b/src/gui/truetypefont.h
@@ -25,7 +25,6 @@
#include <string>
#include <guichan/font.hpp>
-#include <guichan/graphics.hpp>
#ifndef __APPLE__
#include <SDL/SDL_ttf.h>
#else
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index 36828194..934bd9b3 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -25,8 +25,6 @@
#include <guichan/exception.hpp>
-#include <guichan/widgets/icon.hpp>
-
#include "gui.h"
#include "window.h"
#include "windowcontainer.h"