On Fri, Oct 02, 2009 at 12:23:37PM +0200, Niels Kristian Bech Jensen wrote:
> 
> > Date: Fri, 2 Oct 2009 10:06:41 +0200
> > From: [email protected]
> > To: [email protected]
> > Subject: Re: [UFRaw-Devel] latest CVS broke rotation/flip logic
> > 
> > I fixed yet another minor detail but it's questionable: the slider is
> > clipped at -180..180 degrees which prevents the 360 degree remainder logic
> > doing its job when pressing page/cursor-up or down when the widget has
> > focus and close to/at -180 or 180 degrees. This is fixed by increasing
> > the range slightly. I don't suppose GTK has a kind of circular slider
> > with begin and end connected... that would be more appropriate.
> > 
> Hi Frank.
> 
> I don't know if gtk_spin_button_set_wrap() does what you want?
> 
> http://developer.gimp.org/api/2.0/gtk/GtkSpinButton.html#gtk-spin-button-set-wrap

Yes, that's what is missing. This implies an adjustment_scale()
interface change as it seems. I can provide a patch but it is rather
straightforward so maybe it is better to apply the latest patch I sent,
change 190 to 180 back again and put something like

    if (wrap)
        gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(w), TRUE);

in adjustment_scale(), adding a new "wrap" argument.

-- 
Frank

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
ufraw-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to