kwin/effects/presentwindows_config.h
Rivo Laks c22b4809a5 Add working config modules for PresentWindows and Shadow effects.
You can configure shadow's offset and opacity and presentwindow's mouse activation areas
  (e.g. activate when mouse it at top-right corner).

svn path=/trunk/KDE/kdebase/workspace/; revision=669040
2007-05-28 11:34:12 +00:00

43 lines
1,007 B
C++

/*****************************************************************
KWin - the KDE window manager
This file is part of the KDE project.
Copyright (C) 2007 Rivo Laks <rivolaks@hot.ee>
You can Freely distribute this program under the GNU General Public
License. See the file "COPYING" for the exact licensing terms.
******************************************************************/
#ifndef KWIN_PRESENTWINDOWS_CONFIG_H
#define KWIN_PRESENTWINDOWS_CONFIG_H
#include <kcmodule.h>
class QComboBox;
namespace KWin
{
class PresentWindowsEffectConfig : public KCModule
{
Q_OBJECT
public:
PresentWindowsEffectConfig(QWidget* parent = 0, const QStringList& args = QStringList());
~PresentWindowsEffectConfig();
virtual void save();
virtual void load();
virtual void defaults();
protected:
void addItems(QComboBox* combo);
private:
QComboBox* mActivateCombo;
QComboBox* mActivateAllCombo;
};
} // namespace
#endif