Lines Matching defs:adj

63 static void sp_stb_magnitude_value_changed( GtkAdjustment *adj, GObject *dataKludge )
72 (gint)gtk_adjustment_get_value(adj));
92 (gint)gtk_adjustment_get_value(adj));
96 (arg1 + M_PI / (gint)gtk_adjustment_get_value(adj)));
109 static void sp_stb_proportion_value_changed( GtkAdjustment *adj, GObject *dataKludge )
114 if (!IS_NAN(gtk_adjustment_get_value(adj))) {
117 gtk_adjustment_get_value(adj));
143 r1*gtk_adjustment_get_value(adj));
146 r2*gtk_adjustment_get_value(adj));
207 static void sp_stb_rounded_value_changed( GtkAdjustment *adj, GObject *dataKludge )
213 prefs->setDouble("/tools/shapes/star/rounded", (gdouble) gtk_adjustment_get_value(adj));
233 (gdouble) gtk_adjustment_get_value(adj));
246 static void sp_stb_randomized_value_changed( GtkAdjustment *adj, GObject *dataKludge )
253 (gdouble) gtk_adjustment_get_value(adj));
273 (gdouble) gtk_adjustment_get_value(adj));
301 GtkAdjustment *adj = 0;
307 adj = GTK_ADJUSTMENT( g_object_get_data(G_OBJECT(tbl), "randomized") );
310 gtk_adjustment_set_value(adj, randomized);
312 adj = GTK_ADJUSTMENT( g_object_get_data(G_OBJECT(tbl), "rounded") );
315 gtk_adjustment_set_value(adj, rounded);
328 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "proportion"));
334 gtk_adjustment_set_value(adj, r2/r1);
336 gtk_adjustment_set_value(adj, r1/r2);
339 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "magnitude"));
342 gtk_adjustment_set_value(adj, sides);
405 GtkAdjustment *adj = 0;
420 adj = GTK_ADJUSTMENT( g_object_get_data( dataKludge, "magnitude" ) );
421 gtk_adjustment_set_value(adj, mag);
422 gtk_adjustment_value_changed(adj);
424 adj = GTK_ADJUSTMENT( g_object_get_data( dataKludge, "proportion" ) );
425 gtk_adjustment_set_value(adj, prop);
426 gtk_adjustment_value_changed(adj);
428 adj = GTK_ADJUSTMENT( g_object_get_data( dataKludge, "rounded" ) );
429 gtk_adjustment_set_value(adj, rounded);
430 gtk_adjustment_value_changed(adj);
432 adj = GTK_ADJUSTMENT( g_object_get_data( dataKludge, "randomized" ) );
433 gtk_adjustment_set_value(adj, randomized);
434 gtk_adjustment_value_changed(adj);