plasma, panels, colours

Marco Martin notmart at gmail.com
Thu Nov 13 10:15:21 CET 2008


On Thursday 13 November 2008, Aaron J. Seigo wrote:

> >
> > hmm, but widgets couldn't access it
> > it would also have the problem that theme elements couldn't have solid
> > colors or could make the text disappear in the panel (for example black
> > active task or the button that also has a solid background)
> > more i think about it more i feel the pain.. :/
>
> so we need a magic Colors class that knows enough about the context (form
> factor, svg in use (if any), etc), as available in or out of the applet,
> but which relies on the applet's context.
>
> i'll meditate on it some more =)
still theme::color with a graphicsitem as extra parameter? (then usually will 
be just this)
the implementationwill try to go up in the parent hyerarchy until it finds an 
applet, if it doesn't behaves like now.
hmm sounds hacky but yeah could work :D

Cheers,
Marco Martin




More information about the Plasma-devel mailing list