Re: [Gimp-developer] Why artificially constrain toolbox window size?

2010-05-28 Thread Martin Nordholts
On 05/27/2010 06:48 PM, Michael Natterer wrote: Yes, the concern is that tool buttons *do* have a fixed size, and I really don't think we should scale them. The interface is IMHO better with the resize steps. There is no reason to have non-square buttons, because it doesn't exactly look good

Re: [Gimp-developer] Why artificially constrain toolbox window size?

2010-05-28 Thread Michael Natterer
On Fri, 2010-05-28 at 08:23 +0200, Martin Nordholts wrote: On 05/27/2010 06:48 PM, Michael Natterer wrote: Yes, the concern is that tool buttons *do* have a fixed size, and I really don't think we should scale them. The interface is IMHO better with the resize steps. There is no reason to

Re: [Gimp-developer] Looking for guidance on implementing a plugin

2010-05-28 Thread Rob Antonishen
Maybe the code for http://registry.gimp.org/node/19582 is useful? Nicolas Robidoux I looked at that one and they simply create a new image with a scaled version of the active layer, which is sub-optimal from a UI perspective (the plugin registers under the Image menu, but only scales one

Re: [Gimp-developer] Looking for guidance on implementing a plugin

2010-05-28 Thread Burnie West
On 05/28/2010 08:03 AM, Rob Antonishen wrote: Maybe the code for http://registry.gimp.org/node/19582 is useful? Nicolas Robidoux I looked at that one and they simply create a new image with a scaled version of the active layer, which is sub-optimal from a UI perspective (the

Re: [Gimp-developer] Gimp-developer Digest, Vol 92, Issue 26

2010-05-28 Thread Sven Neumann
On Wed, 2010-05-26 at 10:21 -0500, Dieki N wrote: The problem with that shortcut is that it resizes the brush radius (In the brush options) and thus does not work for bitmap brushes or default brushes. It's also not mapped to anything by default, probably for those reasons. My patch is

Re: [Gimp-developer] Gimp-developer Digest, Vol 92, Issue 26

2010-05-28 Thread Dieki N
On Fri, May 28, 2010 at 1:58 PM, Sven Neumann s...@gimp.org wrote: On Wed, 2010-05-26 at 10:21 -0500, Dieki N wrote: The problem with that shortcut is that it resizes the brush radius (In the brush options) and thus does not work for bitmap brushes or default brushes. It's also not

Re: [Gimp-developer] Looking for guidance on implementing a plugin

2010-05-28 Thread Bill Skaggs
On the whole it's probably better to use the existing layer, because that way you automatically keep its properties such as transparency, mode, etc. If you create a new layer, you will have to set all those things by hand. In terms of computational load it probably doesn't make much difference

Re: [Gimp-developer] Looking for guidance on implementing a plugin

2010-05-28 Thread saulgoode
Quoting Rob Antonishen rob.antonis...@gmail.com: I am writing a c plugin to scale a layer. (This is much as an exercise for me as anything). I have looked at a few examples and they handle things differently - Create a new image with a new layer the new size The only reason I can