summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-14 12:43:28 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-14 12:43:28 +0000
commit5a1007fa3e827c03bb86db71cb26dfd4c485f28d (patch)
treea8f114d7ae6ccb1806602b89d3ea3cf6bbfe7d83 /src/gui/window.h
parentcfac9a371a684a3a6f37bad725094b7e2d80a7d1 (diff)
downloadmana-5a1007fa3e827c03bb86db71cb26dfd4c485f28d.tar.gz
mana-5a1007fa3e827c03bb86db71cb26dfd4c485f28d.tar.bz2
mana-5a1007fa3e827c03bb86db71cb26dfd4c485f28d.tar.xz
mana-5a1007fa3e827c03bb86db71cb26dfd4c485f28d.zip
Extended Image with methods to get width, height and draw a pattern and made
Window widget use it.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index 39d04ddb..6802ce2d 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -28,6 +28,7 @@
#include <allegro.h>
#include <guichan.hpp>
#include "windowcontainer.h"
+#include "../resources/image.h"
/**
* A window. This window can be dragged around and has a title bar.
@@ -49,9 +50,9 @@ class Window : public gcn::Container, public gcn::MouseListener
gcn::Color titlebarColor; /**< Title bar color */
int titlebarHeight; /**< Height of title bar */
- BITMAP *dLeft; /**< Left side of title bar */
- BITMAP *dMid; /**< Middle of title bar */
- BITMAP *dRight; /**< Right side of title bar */
+ Image *dLeft; /**< Left side of title bar */
+ Image *dMid; /**< Middle of title bar */
+ Image *dRight; /**< Right side of title bar */
/** The window container windows add themselves to. */
static WindowContainer* windowContainer;