From d6306f938c39a07b7c5570af22d6d8cf430d8d94 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 25 Aug 2011 21:15:13 +0000 Subject: Add ability to blur kicker background git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249536 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker/kicker/core/containerarea.cpp | 6 ++++++ kicker/libkicker/kickerSettings.kcfg | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'kicker') diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp index a202c910a..00d781b98 100644 --- a/kicker/kicker/core/containerarea.cpp +++ b/kicker/kicker/core/containerarea.cpp @@ -1446,6 +1446,12 @@ void ContainerArea::setBackground() double tint = double(KickerSettings::tintValue()) / 100; _rootPixmap->setFadeEffect(tint, KickerSettings::tintColor()); + if (KickerSettings::menubarPanelBlurred()) { + _rootPixmap->setBlurEffect(0.0, 4.0); + } + else { + _rootPixmap->setBlurEffect(0.0, 0.0); + } _rootPixmap->start(); _bgSet = true; return; diff --git a/kicker/libkicker/kickerSettings.kcfg b/kicker/libkicker/kickerSettings.kcfg index ec6575a21..635d9c646 100644 --- a/kicker/libkicker/kickerSettings.kcfg +++ b/kicker/libkicker/kickerSettings.kcfg @@ -43,6 +43,12 @@ false + + + When this option is enabled, the panel containing the menubar will blur pseudo-transparent image + false + + When this option is enabled, the panel will display a tiled image as its background -- cgit v1.2.3