summaryrefslogtreecommitdiffstats
path: root/kcontrol/background/bgsettings.h
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-06-18 12:56:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-06-18 12:56:04 +0900
commitdb19d360b6f2abc0796a3789e3b428de68ad120d (patch)
tree174e37c9c40b7ce56334210372861ca2798d1336 /kcontrol/background/bgsettings.h
parente96ee72ff00de1de77dd4a50fca83cea15d5b549 (diff)
downloadtdebase-db19d360b6f2abc0796a3789e3b428de68ad120d.tar.gz
tdebase-db19d360b6f2abc0796a3789e3b428de68ad120d.zip
Added smooth crossfade effect option when changing the desktop wallpaper.
Diffstat (limited to 'kcontrol/background/bgsettings.h')
-rw-r--r--kcontrol/background/bgsettings.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/kcontrol/background/bgsettings.h b/kcontrol/background/bgsettings.h
index 0e16a87e9..a49873af2 100644
--- a/kcontrol/background/bgsettings.h
+++ b/kcontrol/background/bgsettings.h
@@ -8,8 +8,8 @@
* Public License. See the file "COPYING.LIB" for the exact licensing terms.
*/
-#ifndef __BGSettings_h_Included__
-#define __BGSettings_h_Included__
+#ifndef __BGSETTINGS_H__
+#define __BGSETTINGS_H__
#include <tqstringlist.h>
@@ -198,6 +198,9 @@ public:
void setReverseBlending(bool value);
bool reverseBlending() const { return m_ReverseBlending; }
+ void setCrossFadeBg(bool value);
+ bool crossFadeBg() const { return m_CrossFadeBg; }
+
void setBlendBalance(int value);
int blendBalance() const { return m_BlendBalance; }
@@ -273,6 +276,7 @@ private:
int m_BlendMode, defBlendMode;
int m_BlendBalance, defBlendBalance;
bool m_ReverseBlending, defReverseBlending;
+ bool m_CrossFadeBg, defCrossFadeBg;
int m_MinOptimizationDepth;
bool m_bShm;
bool m_bDrawBackgroundPerScreen;
@@ -369,4 +373,4 @@ private:
};
-#endif // __BGSettings_h_Included__
+#endif // __BGSETTINGS_H__