Current functionality plus variants for
getting IKIcon objects, or current
functionality with only NSImages?
Well, current functionality with only NSImage.
Ummm... so, we'd have people using IKIcon's
factory methods directly for everything else?
Okay, I can live with that.
I have just seen you subversion repository update. I need to look at it.
That's really cool, I will try to take some
times to merge theses changes back in our cvs.
I don't think that's very useful. As I said,
most of this right now is intended to be
completely rewritten for GNUstep (only the class
names and method names and signatures would be
the same for GNUstep). Once there is actual code
to be shared between both ports (the new
compositing-with-Alpha code could partially be
useful for that), I'll try to move that out so
you can use it in your version, too.
You should read :
http://cvs.gna.org/viewcvs/etoile/Etoile/Frameworks/IconKit/README?rev=1.2&content-type=text/vnd.viewcvs-markup
Ah, thanks! That was exactly the kind of info I needed.
This plist is to be used like a simple image
format rules based with possibility to reuse the
composite rules. To take an example, we could
support possibility like wathever.ikicon bundle
which would contain the plist with the composite
rules and a bunch of images stored into it, then
when you open it with IconKit the framework
transparently returns a NSImage you can use you
have also the possibility to create a new IKIcon
with the plist and change one and more images
used by it as specified in the plist I haven't
written this part of IconKit myself, I hope
Nicolas could confirm what I said and may be he
has other ideas too The API could need to be
polished a bit more.
Finally in some way it's like a very basic SVG
format but with GNUstep/Cocoa semantic and the
bundle idea.
Okay, I'll see how easy it'll be to implement
that. The code I'm writing will probably have to
create an IKIcon for each intermediate step right
now, though. That's how compositing works on Mac.
It'd also make it easier to even have parts of
composited icons update when the theme changes.
I.e. if the icon knows what icons it consists of,
it can re-composite itself each time one of those
changes.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de