[Gtkradiant] working on a plugin, need some advice
Wed, 22 Oct 2003 12:59:05 -0700
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Joseph, William wrote:
> This may not help you write the plugin =).
> I think your problem illustrates a design problem with the LoadImage API.
> I suggest we decouple the image-loading from the VFS.
Yeah, that was pretty much how I saw it. Since the current
behavior is the right thing in most situations, the core
could still export LoadImage with it's current behaviour,
but internally use LoadImageStream or whatever. That should
make it a low impact change.
Anyway, here is my current whack at the plugin:
and a win32 binary:
It is still fairly rough at the momement. If anyone has comments
on how I should do things differently, I'd be glad to hear it.
Next step it to figure out how to make dialog boxes in gtk,
so I can support different images in all the 2d views without
a bazillion menu items.
Email: rfm(at)collectivecomputing.com or rfm(at)portalofevil.com
Home page: http://www.collectivecomputing.com/rfm