Loading gih brushes.

Patrick Julien freak at codepimps.org
Thu Jan 22 14:13:06 CET 2004


On January 21, 2004 02:03 pm, Boudewijn Rempt wrote:
> I've just added loading of Gimp's gih (pipe-line) brushes, and also added
> the few pipe-line brushes that are in the Gimp's distribution. This wasn't
> much fun: I'd have preferred a more structured file format for these
> things, and it wasn't until I remembered the strengths of QString that I
> managed to parse it at all. C. Such a primitive language.
>
> Using the brushes is still not perfect (will be working on that tonight): I
> don't parse and use the 'parasite' that describes which brush should be
> used next.
>
> Loading the brushes is now also a bit slow: one cause is a less than
> optimal hack to copy the data for each brush from the combined brush; and
> I'm not satisfied with the way I handle the three types of resources in the
> resource mediator / resource server, because I duplicate a lot of code.

Well, I actually wanted to move away from this, want I really wanted was to 
use KIO to load all this stuff (didn't I start this already?) asynchronously 
so that something can still use and work with krita even if not everything is 
loaded.  I so hate progress bars or splash screens.




More information about the kimageshop mailing list