updated iwarp to latest verison

added a few names to the about dialog
      applied sven's patch for 32-bit color on gck
      fixed an outdated tip in gimp_tip.txt
This commit is contained in:
Adrian Likins 1997-12-08 16:50:54 +00:00
parent 2d442d4842
commit e2092a1ffa
8 changed files with 32 additions and 17 deletions

View File

@ -1,3 +1,12 @@
Mon Dec 8 11:43:17 EST 1997 Adrian Likins <adrian@gimp.org>
* updated iwarp to latest version
* added Sven Neumans patch for 32-bit color in gck
* fixed gimp_tips.txt (the tip about the "add alpha")
Mon Dec 8 02:13:36 PST 1997 Manish Singh <yosh@gimp.org> Mon Dec 8 02:13:36 PST 1997 Manish Singh <yosh@gimp.org>
* app/about_dialog.c: Added Nathan Summers patch to make it * app/about_dialog.c: Added Nathan Summers patch to make it

View File

@ -69,6 +69,7 @@ static char *scroll_text[] =
"Federico Mena", "Federico Mena",
"Adam D. Moss", "Adam D. Moss",
"Shuji Narazaki", "Shuji Narazaki",
"Sven Neumann",
"Stephen Robert Norris", "Stephen Robert Norris",
"Erik Nygren", "Erik Nygren",
"Miles O'Neal", "Miles O'Neal",
@ -79,6 +80,7 @@ static char *scroll_text[] =
"Mike Schaeffer", "Mike Schaeffer",
"Tracy Scott", "Tracy Scott",
"Manish Singh", "Manish Singh",
"Mike Sweet",
"Eiichi Takamori", "Eiichi Takamori",
"Tristan Tarrant", "Tristan Tarrant",
"Owen Taylor", "Owen Taylor",

View File

@ -69,6 +69,7 @@ static char *scroll_text[] =
"Federico Mena", "Federico Mena",
"Adam D. Moss", "Adam D. Moss",
"Shuji Narazaki", "Shuji Narazaki",
"Sven Neumann",
"Stephen Robert Norris", "Stephen Robert Norris",
"Erik Nygren", "Erik Nygren",
"Miles O'Neal", "Miles O'Neal",
@ -79,6 +80,7 @@ static char *scroll_text[] =
"Mike Schaeffer", "Mike Schaeffer",
"Tracy Scott", "Tracy Scott",
"Manish Singh", "Manish Singh",
"Mike Sweet",
"Eiichi Takamori", "Eiichi Takamori",
"Tristan Tarrant", "Tristan Tarrant",
"Owen Taylor", "Owen Taylor",

View File

@ -69,6 +69,7 @@ static char *scroll_text[] =
"Federico Mena", "Federico Mena",
"Adam D. Moss", "Adam D. Moss",
"Shuji Narazaki", "Shuji Narazaki",
"Sven Neumann",
"Stephen Robert Norris", "Stephen Robert Norris",
"Erik Nygren", "Erik Nygren",
"Miles O'Neal", "Miles O'Neal",
@ -79,6 +80,7 @@ static char *scroll_text[] =
"Mike Schaeffer", "Mike Schaeffer",
"Tracy Scott", "Tracy Scott",
"Manish Singh", "Manish Singh",
"Mike Sweet",
"Eiichi Takamori", "Eiichi Takamori",
"Tristan Tarrant", "Tristan Tarrant",
"Owen Taylor", "Owen Taylor",

View File

@ -44,8 +44,7 @@ You can change the name of a layer by double-clicking on its name in
the Layers dialog box. the Layers dialog box.
The layer named "Background" is special. You can't add transparency The layer named "Background" is special. You can't add transparency
or a layer mask to it. However, if you rename it, it will behave or a layer mask to it. To add transparency, you must first "Add alpha" to the layer by right-clicking in the layers dialog and selecting "Add alpha to layer".
like a normal layer.
When using a drawing tool (Paintbrush, Airbrush, or Pencil), Shift-click When using a drawing tool (Paintbrush, Airbrush, or Pencil), Shift-click
will draw a straight line from your last drawing point to your current will draw a straight line from your last drawing point to your current

View File

@ -28,9 +28,9 @@
Most of the gimp and gtk specific code is taken from other plug-ins Most of the gimp and gtk specific code is taken from other plug-ins
v0.11 v0.11a
animation of non-alpha layers (background) creates now layers with alpha animation of non-alpha layers (background) creates now layers with
channel. (thanks to Adrian Likins for reporting this bug) alpha channel. (thanks to Adrian Likins for reporting this bug)
*/ */
@ -494,7 +494,7 @@ iwarp_supersample(gint sxl,gint syl ,gint sxr, gint syr,guchar* dest_data,int st
if (layer_alpha) dest = dest_data+(col-syl)*(stride)+(row-sxl)*(image_bpp+1); if (layer_alpha) dest = dest_data+(col-syl)*(stride)+(row-sxl)*(image_bpp+1);
else dest = dest_data+(col-syl)*stride+(row-sxl)*image_bpp; else dest = dest_data+(col-syl)*stride+(row-sxl)*image_bpp;
for (i=0; i<image_bpp; i++) *dest++ = color[i] / cc; for (i=0; i<image_bpp; i++) *dest++ = color[i] / cc;
if (layer_alpha) dest++; if (layer_alpha) *dest++ = 255;
(*progress)++; (*progress)++;
} }
gimp_progress_update((double) (*progress) / max_progress); gimp_progress_update((double) (*progress) / max_progress);
@ -537,12 +537,12 @@ iwarp_frame()
if (fabs(xv) > 0.0 || fabs(yv) > 0.0) { if (fabs(xv) > 0.0 || fabs(yv) > 0.0) {
iwarp_get_point(pre2img * xv +col, pre2img *yv +row,color); iwarp_get_point(pre2img * xv +col, pre2img *yv +row,color);
for (i=0; i<image_bpp; i++) *dest++ = color[i]; for (i=0; i<image_bpp; i++) *dest++ = color[i];
if (layer_alpha) dest++; if (layer_alpha) *dest++ = 255;
} }
else { else {
iwarp_get_pixel(col,row,color); iwarp_get_pixel(col,row,color);
for (i=0; i<image_bpp; i++) *dest++ = color[i]; for (i=0; i<image_bpp; i++) *dest++ = color[i];
if (layer_alpha) dest++; if (layer_alpha) *dest++ = 255;
} }
} }
dest_row += dest_rgn.rowstride; dest_row += dest_rgn.rowstride;

View File

@ -28,9 +28,9 @@
Most of the gimp and gtk specific code is taken from other plug-ins Most of the gimp and gtk specific code is taken from other plug-ins
v0.11 v0.11a
animation of non-alpha layers (background) creates now layers with alpha animation of non-alpha layers (background) creates now layers with
channel. (thanks to Adrian Likins for reporting this bug) alpha channel. (thanks to Adrian Likins for reporting this bug)
*/ */
@ -494,7 +494,7 @@ iwarp_supersample(gint sxl,gint syl ,gint sxr, gint syr,guchar* dest_data,int st
if (layer_alpha) dest = dest_data+(col-syl)*(stride)+(row-sxl)*(image_bpp+1); if (layer_alpha) dest = dest_data+(col-syl)*(stride)+(row-sxl)*(image_bpp+1);
else dest = dest_data+(col-syl)*stride+(row-sxl)*image_bpp; else dest = dest_data+(col-syl)*stride+(row-sxl)*image_bpp;
for (i=0; i<image_bpp; i++) *dest++ = color[i] / cc; for (i=0; i<image_bpp; i++) *dest++ = color[i] / cc;
if (layer_alpha) dest++; if (layer_alpha) *dest++ = 255;
(*progress)++; (*progress)++;
} }
gimp_progress_update((double) (*progress) / max_progress); gimp_progress_update((double) (*progress) / max_progress);
@ -537,12 +537,12 @@ iwarp_frame()
if (fabs(xv) > 0.0 || fabs(yv) > 0.0) { if (fabs(xv) > 0.0 || fabs(yv) > 0.0) {
iwarp_get_point(pre2img * xv +col, pre2img *yv +row,color); iwarp_get_point(pre2img * xv +col, pre2img *yv +row,color);
for (i=0; i<image_bpp; i++) *dest++ = color[i]; for (i=0; i<image_bpp; i++) *dest++ = color[i];
if (layer_alpha) dest++; if (layer_alpha) *dest++ = 255;
} }
else { else {
iwarp_get_pixel(col,row,color); iwarp_get_pixel(col,row,color);
for (i=0; i<image_bpp; i++) *dest++ = color[i]; for (i=0; i<image_bpp; i++) *dest++ = color[i];
if (layer_alpha) dest++; if (layer_alpha) *dest++ = 255;
} }
} }
dest_row += dest_rgn.rowstride; dest_row += dest_rgn.rowstride;

View File

@ -1792,9 +1792,10 @@ void gck_rgb_to_image32(GckVisualInfo * visinfo,
g = (guint32) RGB_data[count++]; g = (guint32) RGB_data[count++];
b = (guint32) RGB_data[count++]; b = (guint32) RGB_data[count++];
r = r << 24; /* changed to work on 32 bit displays */
g = g << 16; r = r << 16;
b = b << 8; g = g << 8;
b = b;
pixel = r | g | b; pixel = r | g | b;
*imagedata = pixel; *imagedata = pixel;