gimp_splash.ppm A new splash... gimp1_2_splash.ppm A new file for the old

2000-12-28  Simon Budig  <simon@gimp.org>

        * gimp_splash.ppm     A new splash...
        * gimp1_2_splash.ppm  A new file for the old splash

        * modules/colorsel_triangle.c   Fixed a warning.
This commit is contained in:
Simon Budig
2000-12-29 02:54:03 +00:00
committed by Simon Budig
parent a9276b36f9
commit a78110b873
6 changed files with 1840 additions and 1545 deletions

View File

@ -1,3 +1,10 @@
2000-12-28 Simon Budig <simon@gimp.org>
* gimp_splash.ppm A new splash...
* gimp1_2_splash.ppm A new file for the old splash
* modules/colorsel_triangle.c Fixed a warning.
2000-12-28 Simon Budig <simon@gimp.org>
* modules/colorsel_triangle.c

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

772
gimp1_2_splash.ppm Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -613,9 +613,9 @@ update_previews (ColorSelect *coldata,
for (x = x0 - 4, k=0 ; x <= x0 + 4 ; x++) {
buf[k] = buf[k+1] = buf[k+2] = BGCOLOR;
r2 = (x - x0) * (x - x0) + (y - y0) * (y - y0);
if (r2 <= 20 && r2 >= 6)
if (r2 <= 20 && r2 >= 6) {
buf[k] = buf[k+1] = buf[k+2] = col;
else {
} else {
if (x * x + y * y > COLORTRIANGLERADIUS * COLORTRIANGLERADIUS) {
color_hsv_to_rgb (atan2 (x, y) / G_PI * 180, 1, 1,
&buf[k], &buf[k+1], &buf[k+2]);
@ -690,6 +690,14 @@ color_selection_callback (GtkWidget *widget,
case GDK_BUTTON_RELEASE:
coldata->mode = 0;
gtk_grab_remove (widget);
/* callback the user */
(*coldata->callback) (coldata->data,
coldata->values[RED],
coldata->values[GREEN],
coldata->values[BLUE]);
return FALSE;
break;
default: