ShadowedBackground background hint

Marco Martin notmart at gmail.com
Thu May 29 13:03:56 CEST 2008


On Thursday 29 May 2008, Aaron J. Seigo wrote:
> On Tuesday 27 May 2008, Marco Martin wrote:
> > maybe to make this more aderent to reality i could do that the opaque
> > is painted the svg as is with full opacity, and for the transparent is
> > painted as is if the svg found and the default background with some
> > more alpha if not found, probably it will take a bit long but at least
> > would tell the truth a bit more?
>
> if the theme doesn't provide the element, so be it. i don't think we need
> to or want to work around it.

atm as we talked an evening on irc it falls back to standard background of the 
used theme, so if the theme don't provide that image or if doesn't need to it 
still looks consistent, wasn't sure if making it transparent  would be 
overkill and not good for certain themes.
atm it's done in a rather ugly way, a cleaner way would be by adding a 
function to plasma::theme
http://reviewboard.vidsolbach.de/r/20/
probably a bit late to adding things to the api btw

but i really think it should be some fallback mechanism to elements of certain 
theme, not sure and still thinking how to do it in a clean way also for theme 
creators, but i really think it could resolve some problem related to the 
increasing need of elements ->complexity, but don't have concrete things 
(still)

Cheers,
Marco Martin


More information about the Panel-devel mailing list