On 6 Apr 2001, Michael Natterer wrote:

> > The patch in question is named Gradient-Fu and it exposes the
> > functionality of the gradient editor to scripts and plug-ins, enabling the
> > accurate creations of gradients systematically.
> > 
> > It can be found here:
> > 
> > http://t2.technion.ac.il/~shlomif/grad-fu/
> > 
> > Please let me know what you think.
> IMHO this would be very nice. Manipulating gradients is currently
> a GUI only thing and cannot be done via the PDB. That's bad.
> However we want to clearly separate the UI from the core functionality
> all over the GIMP app/ source.  For the gradient stuff, there is already
> a separate gimpgradient.[ch] which is independent of any UI stuff, but
> this new object still has no methods at all to actually manipulate the
> gradients. This is all still done in the gradient_editor.
> Would you consider updating you patch for 1.3 so that it
> a. adds no editor state to the gradient object

What do you mean by that?

> b. does separate the actual gradient manipulation code out of the
>    gradient_editor

Well, I had to put some routines in separate functions so they can be used
by both the PDB functions and the GUI ones. But I guess some work is still

> ?-)
> The problem is that we will never reach the core/ui separation goal
> if we accept new patches which break this.
> It would be highly appreciated if you could take on this problems
> when updating your patch for current CVS because we definitely want
> PDB-controllable gradients.
> (There will also be nobody keeping you from e.g. hacking a generic
> FG/BG gradient or other stuff ;-)
> keep on hacking,
> --Mitch

I will try to update the patch for GIMP 1.3.x, but first I need some info
about how to download it from the CVS. Should I specify some special
branch ID or something like that?


        Shlomi Fish

Shlomi Fish        [EMAIL PROTECTED] 
Home Page:         http://t2.technion.ac.il/~shlomif/
Home E-mail:       [EMAIL PROTECTED]

A more experienced programmer does not make less bugs. He just realizes
what went wrong more quickly.

Gimp-developer mailing list

Reply via email to