Revision 929324

Go back to digest for 22nd February 2009

Features in KDE Base

Lucas Murray committed changes in /trunk/KDE/kdebase/workspace/kwin:

Added EffectFrame, a helper class that creates, manages and caches a Plasma frame object.
There are two ways to use this class: The first is in "static" mode which gives the frame a set geometry and will not change, the second is an automatic mode that creates the smallest possible frame around the specified contents.
Contents can either be normal text and/or a QPixmap, useful for displaying the caption and icon of the currently highlighed window.

- Does not detect Plasma theme changes, known to be in the Plasma library.
- Slight graphical glitches, known to be in Qt 4.5.0 RC1.

- What happens when there is no Plasma theme installed.

File Changes

Modified 12 files
  • /trunk/KDE/kdebase/workspace/kwin
  •   /lib/CMakeLists.txt
  •   /lib/kwineffects.cpp
  •   /lib/kwineffects.h
  •   /lib/kwinglutils.h
  •   /effects/boxswitch/boxswitch.cpp
  •   /effects/boxswitch/boxswitch.h
  •   /effects/coverswitch/coverswitch.cpp
  •   /effects/coverswitch/coverswitch.h
  •   /effects/cube/cube.cpp
  •   /effects/cube/cube.h
  •   /effects/presentwindows/presentwindows.cpp
  •   /effects/presentwindows/presentwindows.h
12 files changed in total