Themes and Panels

Aaron J. Seigo aseigo at kde.org
Fri Mar 21 21:03:00 CET 2008


On Friday 21 March 2008, Ivan Čukić wrote:
> Any thoughts?

the four modes sound good. the question is whether they should be in different 
files or the same file.

if the same file, then PanelSvg would handle this and need to take an 
orientation. as an added win, then all panels could still share the same svg 
renderer, which can be fairly memory hungry, behind the scenes as they do 
now.

also, it means that we can put the fallbacks into PanelSvg: if a Left version 
doesn't exist, fall back to the default.

if different files, then the code needs to go into the individual 
containments/widets using it, including:

* picking the right svg name (easy)
* fallbacks for failure (easy but tedious)

the bonus to this approach is that we don't have to touch PanelSvg.

so in some senses it's a bit easier to go with multiple files, but in others 
it's not going to be (and result in duplicated code). combined with the 
memory usage hit, i'd like to see it all go into one file.

-- 
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 Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080321/c53ad287/attachment.pgp 


More information about the Panel-devel mailing list