Commit 323fa245 authored by Asbjørn Pettersen's avatar Asbjørn Pettersen

don't use c++ comments

parent 01c74039
Sat Apr 3 20:42:48 1999 ape@spacetec.no (Asbjorn Pettersen)
* app/paintbrush.c: Skip // comments.
* app/paint_core.c : Use /* */ intead of //. IRIX ver. fails
1999-04-03 Michael Natterer <mitschel@cs.tu-berlin.de> 1999-04-03 Michael Natterer <mitschel@cs.tu-berlin.de>
* app/shear_tool.c: forgot this file. Should compile again now, * app/shear_tool.c: forgot this file. Should compile again now,
......
...@@ -528,7 +528,7 @@ paint_core_get_color_from_gradient (PaintCore *paint_core, double gradient_lengt ...@@ -528,7 +528,7 @@ paint_core_get_color_from_gradient (PaintCore *paint_core, double gradient_lengt
/* stolen from the fade effect in paintbrush */ /* stolen from the fade effect in paintbrush */
/* model this on a gaussian curve */ /* model this on a gaussian curve */
// position = exp (- y * y * 0.5); /* position = exp (- y * y * 0.5); */
position = y/gradient_length; position = y/gradient_length;
grad_get_color_at(position,r,g,b,a); grad_get_color_at(position,r,g,b,a);
/* set opacity to zero if this isnt a repeater call */ /* set opacity to zero if this isnt a repeater call */
......
...@@ -165,11 +165,11 @@ create_paint_options (void) ...@@ -165,11 +165,11 @@ create_paint_options (void)
/* this is a little unintuitive, probabaly put the slider */ /* this is a little unintuitive, probabaly put the slider */
/* in a frame later with a checkbutton for "use gradients" */ /* in a frame later with a checkbutton for "use gradients" */
/* and default the gradient length to 10 or something */ /* and default the gradient length to 10 or something */
#if 0
// hbox = gtk_hbox_new (FALSE, 1); // hbox = gtk_hbox_new (FALSE, 1);
//gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); //gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
//gtk_widget_show(hbox); //gtk_widget_show(hbox);
#endif
label = gtk_label_new (_("Gradient Length")); label = gtk_label_new (_("Gradient Length"));
......
...@@ -528,7 +528,7 @@ paint_core_get_color_from_gradient (PaintCore *paint_core, double gradient_lengt ...@@ -528,7 +528,7 @@ paint_core_get_color_from_gradient (PaintCore *paint_core, double gradient_lengt
/* stolen from the fade effect in paintbrush */ /* stolen from the fade effect in paintbrush */
/* model this on a gaussian curve */ /* model this on a gaussian curve */
// position = exp (- y * y * 0.5); /* position = exp (- y * y * 0.5); */
position = y/gradient_length; position = y/gradient_length;
grad_get_color_at(position,r,g,b,a); grad_get_color_at(position,r,g,b,a);
/* set opacity to zero if this isnt a repeater call */ /* set opacity to zero if this isnt a repeater call */
......
...@@ -165,11 +165,11 @@ create_paint_options (void) ...@@ -165,11 +165,11 @@ create_paint_options (void)
/* this is a little unintuitive, probabaly put the slider */ /* this is a little unintuitive, probabaly put the slider */
/* in a frame later with a checkbutton for "use gradients" */ /* in a frame later with a checkbutton for "use gradients" */
/* and default the gradient length to 10 or something */ /* and default the gradient length to 10 or something */
#if 0
// hbox = gtk_hbox_new (FALSE, 1); // hbox = gtk_hbox_new (FALSE, 1);
//gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); //gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
//gtk_widget_show(hbox); //gtk_widget_show(hbox);
#endif
label = gtk_label_new (_("Gradient Length")); label = gtk_label_new (_("Gradient Length"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment