[PATCH] Pretty rectangles around the icons
Marco Martin
notmart at gmail.com
Wed Jan 2 21:44:42 CET 2008
Hi all,
this patch adjust the radius of the background rectangle of the icons, and it
does not uses the svg anymore.
The svg is still used for the icon actions background and in drawForeground()
(even if the foreground-hover and foreground-pressed elements are empty at
the moment, not had decent ideas for it :D)
One other thing:
drawBackground() draws a Plasma::roundedRectangle(), at the moment it's white
or black depending by the value of
KColorScheme(QPalette::Active, KColorScheme::Window,
Plasma::Theme::self()->colors()).foreground().color()
because i didn't find two good contrasting colors
i wonder why in the colors configuration file [Colors:Window] has
ForegroundNormal=255,255,255 and BackgroundNormal=241,241,241 it not
makes a good contrast, shouldn't be BackgroundNormal=0,0,0 or something like
that?
how does it look like?
Cheers,
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icon_roundrect.diff
Type: text/x-diff
Size: 11296 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080102/683b8f1b/attachment-0001.bin
More information about the Panel-devel
mailing list