Commit Graph

3 Commits

Author SHA1 Message Date
Marco Martin
06103bcd00 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).

svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=782727
2008-03-05 21:03:27 +00:00
Marco Martin
ae10baf97a new version of the opaque background: is more well, opaque (works better with krunner) and with some polishments
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=759856
2008-01-11 11:34:04 +00:00
Marco Martin
a997769195 search for different background svgs when composite is disabled
squared edges without shadows are preferred without composite

svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=759551
2008-01-10 20:53:13 +00:00