summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-03 12:42:21 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-03 12:42:21 +0000
commitdf5ee2a5c32258e0d993c7d7c917c75299ee9ae4 (patch)
tree8303eec548a78ae1f8b543aea8658d37321e772b /src/gui/window.h
parentdbda6463fd8a9c3136daf64e79b5515812a2e40f (diff)
downloadmana-df5ee2a5c32258e0d993c7d7c917c75299ee9ae4.tar.gz
mana-df5ee2a5c32258e0d993c7d7c917c75299ee9ae4.tar.bz2
mana-df5ee2a5c32258e0d993c7d7c917c75299ee9ae4.tar.xz
mana-df5ee2a5c32258e0d993c7d7c917c75299ee9ae4.zip
Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.
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;