summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.h
diff options
context:
space:
mode:
authorBjørn <bjorn@horst-dieter.(none)>2009-04-12 19:04:20 +0200
committerBjørn <bjorn@horst-dieter.(none)>2009-04-12 19:06:38 +0200
commit9f5b89189f00c959882f86067634a512e6970614 (patch)
tree8964803d49528d35585f1fb26f8f22e3c7353a52 /src/gui/widgets/desktop.h
parenta6998fbdfaf84aa1920564d97e3421ed28c9a893 (diff)
downloadmana-9f5b89189f00c959882f86067634a512e6970614.tar.gz
mana-9f5b89189f00c959882f86067634a512e6970614.tar.bz2
mana-9f5b89189f00c959882f86067634a512e6970614.tar.xz
mana-9f5b89189f00c959882f86067634a512e6970614.zip
Moved client version string creation to preprocessor
Diffstat (limited to 'src/gui/widgets/desktop.h')
-rw-r--r--src/gui/widgets/desktop.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h
index 7eabde54..ad04ee96 100644
--- a/src/gui/widgets/desktop.h
+++ b/src/gui/widgets/desktop.h
@@ -22,11 +22,11 @@
#ifndef DESKTOP_H
#define DESKTOP_H
-#include <guichan/widgets/container.hpp>
+#include "gui/widgets/container.h"
+
#include <guichan/widgetlistener.hpp>
class Image;
-class Label;
/**
* Desktop widget, for drawing a background image and color.
@@ -37,9 +37,11 @@ class Label;
* When the desktop widget is resized, the background image is automatically
* updated.
*
+ * The desktop also displays the client version in the top-right corner.
+ *
* \ingroup GUI
*/
-class Desktop : public gcn::Container, gcn::WidgetListener
+class Desktop : public Container, gcn::WidgetListener
{
public:
Desktop();
@@ -58,7 +60,6 @@ class Desktop : public gcn::Container, gcn::WidgetListener
void setBestFittingWallpaper();
Image *mWallpaper;
- Label *versionLabel;
};
#endif // DESKTOP_H