Bump default shadow offset from 5 to 10

svn path=/trunk/KDE/kdebase/workspace/; revision=675491
This commit is contained in:
Rivo Laks 2007-06-14 11:04:13 +00:00
parent 7812443973
commit b5bc926a2e
2 changed files with 6 additions and 6 deletions

View file

@ -22,8 +22,8 @@ KWIN_EFFECT( shadow, ShadowEffect )
ShadowEffect::ShadowEffect()
{
KConfigGroup conf = effects->effectConfig("Shadow");
shadowXOffset = conf.readEntry( "XOffset", 5 );
shadowYOffset = conf.readEntry( "YOffset", 5 );
shadowXOffset = conf.readEntry( "XOffset", 10 );
shadowYOffset = conf.readEntry( "YOffset", 10 );
shadowOpacity = (float)conf.readEntry( "Opacity", 0.2 );
shadowFuzzyness = conf.readEntry( "Fuzzyness", 10 );
}

View file

@ -74,8 +74,8 @@ void ShadowEffectConfig::load()
KCModule::load();
KConfigGroup conf = EffectsHandler::effectConfig("Shadow");
mShadowXOffset->setValue( conf.readEntry( "XOffset", 5 ) );
mShadowYOffset->setValue( conf.readEntry( "YOffset", 5 ) );
mShadowXOffset->setValue( conf.readEntry( "XOffset", 10 ) );
mShadowYOffset->setValue( conf.readEntry( "YOffset", 10 ) );
mShadowOpacity->setValue( (int)( conf.readEntry( "Opacity", 0.2 ) * 100 ) );
mShadowFuzzyness->setValue( conf.readEntry( "Fuzzyness", 10 ) );
@ -101,8 +101,8 @@ void ShadowEffectConfig::save()
void ShadowEffectConfig::defaults()
{
kDebug() << k_funcinfo << endl;
mShadowXOffset->setValue( 5 );
mShadowYOffset->setValue( 5 );
mShadowXOffset->setValue( 10 );
mShadowYOffset->setValue( 10 );
mShadowOpacity->setValue( 20 );
mShadowFuzzyness->setValue( 10 );
emit changed(true);