Re: Gradient-Fu Patch for Gimp 1.0.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Federico Mena Quintero wrote:
> 
> >  I coded a patch for the GIMP version 1.0.4 that adds procedures to the
> >  procedural database that manipulate gradients in much the same way as the
> >  gradient editor does. Thus, one can write scripts that create or modify
> >  gradients.
> 
> Fantastic!
> 
> Before the GIMP maintainers apply this patch, I would appreciate it if
> they did the following.
> 
>         1. This patch removes the control_sel_l and control_sel_r
>            fields from the gradient_editor_t structure.  If the
>            selection is to be an attribute of a gradient, instead of
>            the editor's, then please move them to the gradient_t
>            structure instead of making them global variables.
>
>         2. Fix the inconsistent indentation in gradient.c.  It was
>            reindented GNU style, but some bits are still Linux kernel
>            style.

Hi all,

I'm the evil indentation guy ;-) (just couldn't restist when I browsed the
ui code some weeks ago). I'll soon commit a patch which makes the
indentation consistent.

Applying Shlomi's patch manually shouldn't be too hard with the indented
version of gradient.c as it's mostly
s/g_editor->control_sel_[lr]/control_sel_[lr]/g and adding new functions,
however the PDB stuff is done by pdbgen now. I'd like to volunteer but
unfortunately I still have no idea of perl, sorry :-(

--Michael


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux