diff options
author | François Andriot <[email protected]> | 2014-06-18 12:56:04 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2014-06-18 12:56:04 +0900 |
commit | db19d360b6f2abc0796a3789e3b428de68ad120d (patch) | |
tree | 174e37c9c40b7ce56334210372861ca2798d1336 /kcontrol/background/bgsettings.h | |
parent | e96ee72ff00de1de77dd4a50fca83cea15d5b549 (diff) | |
download | tdebase-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.h | 10 |
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__ |