mirror of https://github.com/GNOME/gimp.git
parent
81fc7ec7fa
commit
101de6b47b
|
@ -1,3 +1,7 @@
|
|||
Tue May 11 11:43:36 MEST 1999 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* modules/colorsel_water.c: small change not worth a ChangeLog entry
|
||||
|
||||
Mon May 10 18:28:11 CEST 1999 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* configure.in: undo the part of patch "Tue May 4 15:51:16 PDT
|
||||
|
|
|
@ -105,7 +105,7 @@ typedef struct {
|
|||
static gdouble bucket[N_BUCKETS + 1][3];
|
||||
static GtkWidget *color_preview[N_BUCKETS + 1];
|
||||
static gdouble last_x, last_y, last_pressure;
|
||||
static gfloat pressure_adjust = 100.0;
|
||||
static gfloat pressure_adjust = 1.0;
|
||||
static guint32 motion_time;
|
||||
static gint button_state;
|
||||
static ColorselWater *coldata;
|
||||
|
@ -277,7 +277,7 @@ add_pigment (gboolean erase, gdouble x, gdouble y, gdouble much)
|
|||
{
|
||||
gdouble r, g, b;
|
||||
|
||||
much *= (gdouble)pressure_adjust / 100.0;
|
||||
much *= (gdouble)pressure_adjust;
|
||||
|
||||
#ifdef VERBOSE
|
||||
g_print ("x: %g, y: %g, much: %g\n", x, y, much);
|
||||
|
@ -456,7 +456,7 @@ reset_color_callback (GtkWidget *widget, gpointer data)
|
|||
static void
|
||||
pressure_adjust_update (GtkAdjustment *adj, gpointer data)
|
||||
{
|
||||
pressure_adjust = adj->value;
|
||||
pressure_adjust = adj->value / 100;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue