summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index c78de2f4..143c8235 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -28,6 +28,7 @@
#include <guichan.hpp>
#include "windowcontainer.h"
#include "../resources/image.h"
+#include "../graphics.h"
/**
* A window. This window can be dragged around and has a title bar.
@@ -52,10 +53,8 @@ class Window : public gcn::Container, public gcn::MouseListener
Image *dBackground; /**< Left side of title bar */
Image *dBorders; /**< Middle of title bar */
- Image *dUpperBorder; /**< Upper border */
- Image *dLowerBorder; /**< Lower Border */
- Image *dLeftBorder; /**< Left Border */
- Image *dRightBorder; /**< Right Border */
+
+ ImageRect border; /**< The window border */
/** The window container windows add themselves to. */
static WindowContainer* windowContainer;