Hello,after I learned to use git correctly, I recreated my small usability patch for the tonecurve iop.
Please review and push if possible.
hal
>From 0890c6ac9d60adaf3d12a8dfb55a335b12a281b4 Mon Sep 17 00:00:00 2001 From: hal <hal.from.2...@gmail.com> Date: Tue, 29 Jan 2013 11:48:12 +0100 Subject: [PATCH] Small change to the tonecurve iop to disable the a and b autoscaling by doubleclick into the a or b tonecurve drawing area. --- src/iop/tonecurve.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/iop/tonecurve.c b/src/iop/tonecurve.c index 6ea66d5..953f2ee 100644 --- a/src/iop/tonecurve.c +++ b/src/iop/tonecurve.c @@ -951,6 +951,17 @@ static gboolean dt_iop_tonecurve_button_press(GtkWidget *widget, GdkEventButton dt_dev_add_history_item(darktable.develop, self, TRUE); gtk_widget_queue_draw(self->widget); } + else + { + if (ch != ch_L) + { + p->tonecurve_autoscale_ab = 0; + c->selected = -2; // avoid motion notify re-inserting immediately. + dt_bauhaus_combobox_set(c->autoscale_ab, 1-p->tonecurve_autoscale_ab); + dt_dev_add_history_item(darktable.develop, self, TRUE); + gtk_widget_queue_draw(self->widget); + } + } return TRUE; } return FALSE; -- 1.7.10.4
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d
_______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel