KIconLoader loadIcon and overlays/emblems API change

Aaron J. Seigo aseigo at kde.org
Tue Jul 24 23:15:56 BST 2007


On Tuesday 24 July 2007, Richard Moore wrote:
> On 7/24/07, Aaron J. Seigo <aseigo at kde.org> wrote:
> > it seemed more future proof and easier to use if it simply automatically
> > arranged the emblems around the icon....
>
> I can see in the future having a ring of icons around an icon. This
> would mean the icon + emblems would no longer be the same size as the
> original icon. Is this possible with the api? it looks like it should
> be.

yes. the consumer of the API just says "actions name love, lock, hidden, 
favourite" but does not define positioning, size, etc. i really do think it 
is wise to keep the display and layout of the emblems internal to the icons. 
it makes it possible to do things such as you suggest above without touching 
the API.

and as long as items appearn in consistent order in the list passed in, they 
will also appear in consistent order =)

-- 
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: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070724/0542e01b/attachment.sig>


More information about the kde-core-devel mailing list