diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
commit | 066488a6f4d086b57f4fe32e8799c207552cccb7 (patch) | |
tree | 2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/widgets/desktop.h | |
parent | 0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff) | |
download | mv-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz mv-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2 mv-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz mv-066488a6f4d086b57f4fe32e8799c207552cccb7.zip |
Add theming to labels.
New theme file: label.xml
Parameters: padding
Diffstat (limited to 'src/gui/widgets/desktop.h')
-rw-r--r-- | src/gui/widgets/desktop.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h index 0a9759835..2e5eeea24 100644 --- a/src/gui/widgets/desktop.h +++ b/src/gui/widgets/desktop.h @@ -27,11 +27,7 @@ #include <guichan/widgetlistener.hpp> class Image; - -namespace gcn -{ - class Label; -} +class Label; /** * Desktop widget, for drawing a background image and color. @@ -68,7 +64,7 @@ class Desktop final : public Container, private gcn::WidgetListener void setBestFittingWallpaper(); Image *mWallpaper; - gcn::Label *mVersionLabel; + Label *mVersionLabel; gcn::Color mBackgroundColor; gcn::Color mBackgroundGrayColor; }; |