summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-12 12:34:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-12 12:34:35 +0300
commit840fd10e1843ac4aac01595fe0701bc35a1bcfd3 (patch)
treece75085aed4df1462740da046af1d050cf899485 /src/gui/widgets/desktop.h
parent6ef15759c7e598f4d0c49a262562c9135fab0e5e (diff)
downloadmv-840fd10e1843ac4aac01595fe0701bc35a1bcfd3.tar.gz
mv-840fd10e1843ac4aac01595fe0701bc35a1bcfd3.tar.bz2
mv-840fd10e1843ac4aac01595fe0701bc35a1bcfd3.tar.xz
mv-840fd10e1843ac4aac01595fe0701bc35a1bcfd3.zip
add theming for desktop object.
New theme file: desktop.xml Theme options: showBackground - to show or hide background versionX - version label position by x versionY - version label position by y
Diffstat (limited to 'src/gui/widgets/desktop.h')
-rw-r--r--src/gui/widgets/desktop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h
index 112d1e794..824620f3b 100644
--- a/src/gui/widgets/desktop.h
+++ b/src/gui/widgets/desktop.h
@@ -30,6 +30,7 @@
class Image;
class Label;
+class Skin;
/**
* Desktop widget, for drawing a background image and color.
@@ -69,8 +70,10 @@ class Desktop final : public Container, private gcn::WidgetListener
Image *mWallpaper;
Label *mVersionLabel;
+ Skin *mSkin;
gcn::Color mBackgroundColor;
gcn::Color mBackgroundGrayColor;
+ bool mShowBackground;
};
#endif // GUI_WIDGETS_DESKTOP_H