1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Code update for Window Maker version 0.50.0

Read changes in ChangeLog and NEWS
This commit is contained in:
dan
1999-01-06 15:22:33 +00:00
parent 16698efd45
commit 0261c32636
232 changed files with 20628 additions and 8087 deletions

View File

@@ -49,8 +49,8 @@ char *alloca ();
*----------------------------------------------------------------------
* RBlurImage--
* Apply 3x3 1 1 1 low pass, convolution mask to image.
* 1 1 1
* 1 1 1 /9
* 1 2 1
* 1 1 1 /10
*----------------------------------------------------------------------
*/
int
@@ -61,8 +61,8 @@ RBlurImage(RImage *image)
unsigned char *r, *g, *b, *a;
unsigned char *pr=NULL, *pg=NULL, *pb=NULL, *pa=NULL;
#define MASK(c,pc,p) ((*c + *(c-1) + *(c+1) + pc[p] + pc[p-1] + pc[p+1] \
+ *(c+w) + *(c+w-1) + *(c+w+1))/9)
#define MASK(c,pc,p) ((*c+ *c + *(c-1) + *(c+1) + pc[p] + pc[p-1] + pc[p+1] \
+ *(c+w) + *(c+w-1) + *(c+w+1))/10)
pr = (unsigned char*)alloca(image->width*sizeof(char));
if (!pr)
@@ -138,10 +138,6 @@ RBlurImage(RImage *image)
}
#if 0
int
REdgeDetectImage(RImage *image)