summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-11-21 06:24:50 +0000
committerIra Rice <irarice@gmail.com>2008-11-21 06:24:50 +0000
commitf5c0ed3ec4216219494121721a4cce0c7ec4fb34 (patch)
tree3ffc912b8225d620af521b3b0537ae9a1a1ca1bc /src/gui/window.h
parentbe621542a7330c43c6d586286c4ef7411f83b6ea (diff)
downloadmana-client-f5c0ed3ec4216219494121721a4cce0c7ec4fb34.tar.gz
mana-client-f5c0ed3ec4216219494121721a4cce0c7ec4fb34.tar.bz2
mana-client-f5c0ed3ec4216219494121721a4cce0c7ec4fb34.tar.xz
mana-client-f5c0ed3ec4216219494121721a4cce0c7ec4fb34.zip
Changed windowing code to allow for multiple skins. This will be
modified in a bit so that there are no redundant skin loads, but for now, it doesn't leak any more as well.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index 3bb41a95..9380fc88 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -26,12 +26,11 @@
#include <guichan/widgets/window.hpp>
+#include "../graphics.h"
#include "../guichanfwd.h"
class ConfigListener;
class GCContainer;
-class Image;
-class ImageRect;
class ResizeGrip;
class WindowContainer;
@@ -291,7 +290,7 @@ class Window : public gcn::Window, gcn::WidgetListener
static int mouseResize; /**< Active resize handles */
static int instances; /**< Number of Window instances */
- static ImageRect border; /**< The window border and background */
+ ImageRect border; /**< The window border and background */
static Image *closeImage; /**< Close Button Image */
/**