[gimp] Increase Levels, Curves increments to 10000.
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Increase Levels, Curves increments to 10000.
- Date: Thu, 26 Dec 2013 15:35:24 +0000 (UTC)
commit f79bff0719441c77487f66477d0324d49732fb4b
Author: Elle Stone <ellestone ninedegreesbelow com>
Date: Wed Dec 18 09:38:41 2013 -0500
Increase Levels, Curves increments to 10000.
1000 increments is not enough for just barely noticeable
shadow adjustments in linear gamma color spaces.
app/tools/gimpcurvestool.c | 4 ++--
app/tools/gimplevelstool.c | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/tools/gimpcurvestool.c b/app/tools/gimpcurvestool.c
index 15817d2..eb0362a 100644
--- a/app/tools/gimpcurvestool.c
+++ b/app/tools/gimpcurvestool.c
@@ -225,8 +225,8 @@ gimp_curves_tool_initialize (GimpTool *tool,
}
else
{
- gimp_curve_view_set_range_x (GIMP_CURVE_VIEW (c_tool->graph), 0.0, 1.0);
- gimp_curve_view_set_range_y (GIMP_CURVE_VIEW (c_tool->graph), 0.0, 1.0);
+ gimp_curve_view_set_range_x (GIMP_CURVE_VIEW (c_tool->graph), 0, 100);
+ gimp_curve_view_set_range_y (GIMP_CURVE_VIEW (c_tool->graph), 0, 100);
}
return TRUE;
diff --git a/app/tools/gimplevelstool.c b/app/tools/gimplevelstool.c
index 4d1ed7f..b3f159a 100644
--- a/app/tools/gimplevelstool.c
+++ b/app/tools/gimplevelstool.c
@@ -215,8 +215,8 @@ gimp_levels_tool_initialize (GimpTool *tool,
}
else
{
- scale_factor = 100.0;
- digits = 1;
+ scale_factor = 10000;
+ digits = 0;
}
gimp_prop_widget_set_factor (l_tool->low_input_spinbutton,
@@ -435,7 +435,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
tool->low_input_spinbutton = spinbutton =
gimp_prop_spin_button_new (image_map_tool->config, "low-input",
- 0.01, 0.1, 1);
+ 0.0001, 0.1, 1);
gtk_box_pack_start (GTK_BOX (hbox2), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
@@ -472,7 +472,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_widget_show (button);
spinbutton = gimp_prop_spin_button_new (image_map_tool->config, "high-input",
- 0.01, 0.1, 1);
+ 0.0001, 0.1, 1);
gtk_box_pack_start (GTK_BOX (hbox2), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
tool->high_input_spinbutton = spinbutton;
@@ -521,7 +521,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
/* low output spin */
tool->low_output_spinbutton = spinbutton =
gimp_prop_spin_button_new (image_map_tool->config, "low-output",
- 0.01, 0.1, 1);
+ 0.0001, 0.1, 1);
gtk_box_pack_start (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
@@ -531,7 +531,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
/* high output spin */
tool->high_output_spinbutton = spinbutton =
gimp_prop_spin_button_new (image_map_tool->config, "high-output",
- 0.01, 0.1, 1);
+ 0.0001, 0.1, 1);
gtk_box_pack_end (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]