plasma, panels, colours

Aaron J. Seigo aseigo at kde.org
Thu Nov 13 00:17:55 CET 2008


On Wednesday 12 November 2008, Marco Martin wrote:
> On Wednesday 12 November 2008, Aaron J. Seigo wrote:
> > On Wednesday 12 November 2008, Marco Martin wrote:
> > > On Tuesday 11 November 2008, Aaron J. Seigo wrote:
> > > > On Tuesday 11 November 2008, Davide Bettio wrote:
> > > > > Are we going to put use it as default for KDE 4.2? I hope no.
> > > >
> > > > i'm not a fan of it either. nor is it really what i was hoping for.
> > > > =/
> > >
> > > just to consider all available options, here is an attempt of using
> > > different colors in different places for now based on formfactor (could
> > > be also something else like a new enum)
> >
> > i think the best thing to do would be to add a
> > Plasma::Applet::color(Plasma::Color), where Plasma::Color would be an
> > enum.
> >
> > that way we can base it on anything we want: formfactor, whether or not
> > they are using a standard background, etc..
>
> 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 =)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081112/c3da2534/attachment.sig 


More information about the Plasma-devel mailing list