diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-07-01 14:51:23 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-07-01 14:51:23 +0000 |
commit | d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14 (patch) | |
tree | f4c4e5b1cc87b34d0a3946c3409882ba222e2ad7 /src/gui/window.h | |
parent | 59c17d5f465ddcf1956e8cdf1aae1dbda0a1431f (diff) | |
download | mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.gz mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.bz2 mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.xz mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.zip |
Ported some GUI improvements from Legend of Mazeroth (GUI skinning via XML files, item descriptions on mouse-over, map names in minimap window, speech bubbles)
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 9f5969f0..5c81ba6d 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -251,6 +251,11 @@ class Window : public gcn::Window, gcn::WidgetListener */ ContainerPlacer getPlacer(int x, int y); + /** + * Loads a window skin + */ + void Window::loadSkin(const std::string filename); + private: /** * Determines if the mouse is in a resize area and returns appropriate @@ -285,7 +290,10 @@ 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 */ + + void setGuiAlpha(); + static bool mAlphaChanged; + Image *border[9]; static Image *closeImage; /**< Close Button Image */ /** |