Remove unused anymore header file and copy constants in cpp file.

svn path=/trunk/KDE/kdebase/workspace/; revision=810524
icc-effect-5.14.5
Cédric Borgese 2008-05-20 22:11:20 +00:00
parent 6b391e1ed6
commit 451cc25f01
1 changed files with 17 additions and 1 deletions

View File

@ -10,7 +10,6 @@ License. See the file "COPYING" for the exact licensing terms.
#include "wobblywindows.h"
#include "wobblywindows_constants.h"
#include <kdebug.h>
#include <kconfiggroup.h>
@ -39,6 +38,23 @@ License. See the file "COPYING" for the exact licensing terms.
namespace KWin
{
static const qreal STIFFNESS = 0.06;
static const qreal DRAG = 0.92;
static const qreal MOVEFACTOR = 0.1;
static const int XTESSELATION = 20;
static const int YTESSELATION = 20;
static const qreal MINVELOCITY = 0.0;
static const qreal MAXVELOCITY = 1000.0;
static const qreal STOPVELOCITY = 3.0;
static const qreal MINACCELERATION = 0.0;
static const qreal MAXACCELERATION = 1000.0;
static const qreal STOPACCELERATION = 5.0;
static const char* VELOCITYFILTER = "HeightRingLinearMean";
static const char* ACCELERATIONFILTER = "HeightRingLinearMean";
struct ParameterSet
{
qreal stiffness;