summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-02 03:30:03 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-02 03:30:23 +0200
commit33032808e024b6dade5b751f15f4878edd507787 (patch)
treef451fba79080bdeb0c4d9f10c215cff3653491e7 /src/gui/widgets/desktop.h
parent7e8ba785e95385d32024e151697d2e6d4ec61ef3 (diff)
downloadmana-33032808e024b6dade5b751f15f4878edd507787.tar.gz
mana-33032808e024b6dade5b751f15f4878edd507787.tar.bz2
mana-33032808e024b6dade5b751f15f4878edd507787.tar.xz
mana-33032808e024b6dade5b751f15f4878edd507787.zip
Dynamically scaling background for login screen
Hacked Graphics::drawRescaledImage a bit to make it work...
Diffstat (limited to 'src/gui/widgets/desktop.h')
-rw-r--r--src/gui/widgets/desktop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h
index 8ecb7e03..e2ff207c 100644
--- a/src/gui/widgets/desktop.h
+++ b/src/gui/widgets/desktop.h
@@ -29,6 +29,7 @@
#include <guichan/widgetlistener.hpp>
class Image;
+class Skin;
/**
* Desktop widget, for drawing a background image and color.
@@ -62,6 +63,9 @@ class Desktop : public Container, gcn::WidgetListener
void setBestFittingWallpaper();
Image *mWallpaper;
+ Image *mBackground;
+ Image *mOverlay;
+ Skin *mBgSkin;
gcn::Label *mVersionLabel;
};