kwin/effects/configs_builtins.cpp
Rivo Laks bbb6d2d96a - Add config module for MakeTransparent effect.
Defaults are 70% translucency for window decorations and 80% for moving windows.
- Set it's user-visible name to Translucency

svn path=/trunk/KDE/kdebase/workspace/; revision=728122
2007-10-22 13:34:26 +00:00

28 lines
1.1 KiB
C++

/*****************************************************************
KWin - the KDE window manager
This file is part of the KDE project.
Copyright (C) 2007 Bernhard Loos <nhuh.put@web.de>
You can Freely distribute this program under the GNU General Public
License. See the file "COPYING" for the exact licensing terms.
******************************************************************/
#include "shadow_config.h"
#include "presentwindows_config.h"
#include "desktopgrid_config.h"
#include "maketransparent_config.h"
#include <kwineffects.h>
#include <KPluginLoader>
#ifndef KDE_USE_FINAL
KWIN_EFFECT_CONFIG_FACTORY
#endif
K_PLUGIN_FACTORY_DEFINITION(EffectFactory, registerPlugin<KWin::ShadowEffectConfig>("shadow");
registerPlugin<KWin::PresentWindowsEffectConfig>("presentwindows");
registerPlugin<KWin::DesktopGridEffectConfig>("desktopgrid");
registerPlugin<KWin::MakeTransparentEffectConfig>("maketransparent");
)
K_EXPORT_PLUGIN(EffectFactory("kwin"))