Revision 782727

Go back to digest for 9th March 2008

Other in KDE Base

Marco Martin committed changes in /trunk/KDE/kdebase/workspace:

reworked how shaped windows with svg backgrounds are obtained:
there is a new function PanelSvg::mask() that returns a qbitmap of the areas of the svg with alpha=0 that can be used to create the mask of the window, at the moment used in tooltip and dialog (krunner still to come).

so now windows that uses svg backgrounds should always set PanelSvg::mask() as their own mask, regardless if composite is active or not.In this commit there are also two (identical) svgs for opaque tooltips and dialogs with pixelated rounded borders that looks good without antialiasing (and unlike the previous version they are vector based now).

File Changes

Modified 8 files
  • /trunk/KDE/kdebase/workspace
  •   /libs/plasma/dialog.cpp
  •   /libs/plasma/svgpanel.cpp
  •   /libs/plasma/svgpanel.h
  •   /libs/plasma/theme.cpp
  •   /libs/plasma/theme.h
  •   /libs/plasma/widgets/tooltip.cpp
  •   /plasma/desktoptheme/opaque/dialogs/background.svg
  •   /plasma/desktoptheme/opaque/widgets/tooltip.svg
8 files changed in total