diff options
| author | Gerd Moellmann | 2001-01-17 13:13:34 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-17 13:13:34 +0000 |
| commit | a93f45669c76a1fbab6a2d4ab6df964b196c89b6 (patch) | |
| tree | 99df8db2cfe691a95f95fd8f787c4d13d5a62316 /src | |
| parent | e37d1417a6bbb66f4d341331647fee301cc16b95 (diff) | |
| download | emacs-a93f45669c76a1fbab6a2d4ab6df964b196c89b6.tar.gz emacs-a93f45669c76a1fbab6a2d4ab6df964b196c89b6.zip | |
(QCconversion): Replaces QCalgorithm. Update copyright.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index ae538ab5cd7..649f15012a1 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Graphical user interface functions for the Microsoft W32 API. | 1 | /* Graphical user interface functions for the Microsoft W32 API. |
| 2 | Copyright (C) 1989, 92, 93, 94, 95, 1996, 1997, 1998, 1999 | 2 | Copyright (C) 1989, 92, 93, 94, 95, 1996, 1997, 1998, 1999, 2000, 2001 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -7614,7 +7614,7 @@ Lisp_Object Qxbm; | |||
| 7614 | extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground, QCfile; | 7614 | extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground, QCfile; |
| 7615 | extern Lisp_Object QCdata; | 7615 | extern Lisp_Object QCdata; |
| 7616 | Lisp_Object QCtype, QCascent, QCmargin, QCrelief; | 7616 | Lisp_Object QCtype, QCascent, QCmargin, QCrelief; |
| 7617 | Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask; | 7617 | Lisp_Object QCconversion, QCcolor_symbols, QCheuristic_mask; |
| 7618 | Lisp_Object QCindex; | 7618 | Lisp_Object QCindex; |
| 7619 | 7619 | ||
| 7620 | /* Other symbols. */ | 7620 | /* Other symbols. */ |
| @@ -8377,20 +8377,20 @@ lookup_image (f, spec) | |||
| 8377 | /* Should we apply an image transformation algorithm? */ | 8377 | /* Should we apply an image transformation algorithm? */ |
| 8378 | if (img->pixmap) | 8378 | if (img->pixmap) |
| 8379 | { | 8379 | { |
| 8380 | Lisp_Object algorithm; | 8380 | Lisp_Object conversion; |
| 8381 | 8381 | ||
| 8382 | algorithm = image_spec_value (spec, QCalgorithm, NULL); | 8382 | algorithm = image_spec_value (spec, QCconversion, NULL); |
| 8383 | if (EQ (algorithm, Qdisabled)) | 8383 | if (EQ (conversion, Qdisabled)) |
| 8384 | x_disable_image (f, img); | 8384 | x_disable_image (f, img); |
| 8385 | else if (EQ (algorithm, Qlaplace)) | 8385 | else if (EQ (conversion, Qlaplace)) |
| 8386 | x_laplace (f, img); | 8386 | x_laplace (f, img); |
| 8387 | else if (EQ (algorithm, Qemboss)) | 8387 | else if (EQ (conversion, Qemboss)) |
| 8388 | x_emboss (f, img); | 8388 | x_emboss (f, img); |
| 8389 | else if (CONSP (algorithm) | 8389 | else if (CONSP (conversion) |
| 8390 | && EQ (XCAR (algorithm), Qedge_detection)) | 8390 | && EQ (XCAR (conversion), Qedge_detection)) |
| 8391 | { | 8391 | { |
| 8392 | Lisp_Object tem; | 8392 | Lisp_Object tem; |
| 8393 | tem = XCDR (algorithm); | 8393 | tem = XCDR (conversion); |
| 8394 | if (CONSP (tem)) | 8394 | if (CONSP (tem)) |
| 8395 | x_edge_detection (f, img, | 8395 | x_edge_detection (f, img, |
| 8396 | Fplist_get (tem, QCmatrix), | 8396 | Fplist_get (tem, QCmatrix), |
| @@ -8654,7 +8654,7 @@ static struct image_keyword xbm_format[XBM_LAST] = | |||
| 8654 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 8654 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 8655 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 8655 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 8656 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 8656 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 8657 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 8657 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 8658 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 8658 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 8659 | }; | 8659 | }; |
| 8660 | 8660 | ||
| @@ -9244,7 +9244,7 @@ static struct image_keyword xpm_format[XPM_LAST] = | |||
| 9244 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 9244 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 9245 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 9245 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 9246 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 9246 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 9247 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 9247 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 9248 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 9248 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 9249 | {":color-symbols", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 9249 | {":color-symbols", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 9250 | }; | 9250 | }; |
| @@ -9934,7 +9934,7 @@ static struct image_keyword pbm_format[PBM_LAST] = | |||
| 9934 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 9934 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 9935 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 9935 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 9936 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 9936 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 9937 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 9937 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 9938 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 9938 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 9939 | }; | 9939 | }; |
| 9940 | 9940 | ||
| @@ -10290,7 +10290,7 @@ static struct image_keyword png_format[PNG_LAST] = | |||
| 10290 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 10290 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 10291 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 10291 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 10292 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 10292 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 10293 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 10293 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 10294 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 10294 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 10295 | }; | 10295 | }; |
| 10296 | 10296 | ||
| @@ -10776,7 +10776,7 @@ static struct image_keyword jpeg_format[JPEG_LAST] = | |||
| 10776 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 10776 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 10777 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 10777 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 10778 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 10778 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 10779 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 10779 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 10780 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 10780 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 10781 | }; | 10781 | }; |
| 10782 | 10782 | ||
| @@ -11139,7 +11139,7 @@ static struct image_keyword tiff_format[TIFF_LAST] = | |||
| 11139 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 11139 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 11140 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 11140 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 11141 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 11141 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 11142 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 11142 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 11143 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 11143 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 11144 | }; | 11144 | }; |
| 11145 | 11145 | ||
| @@ -11458,7 +11458,7 @@ static struct image_keyword gif_format[GIF_LAST] = | |||
| 11458 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 11458 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 11459 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 11459 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 11460 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 11460 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 11461 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 11461 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 11462 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 11462 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 11463 | {":image", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0} | 11463 | {":image", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0} |
| 11464 | }; | 11464 | }; |
| @@ -11773,7 +11773,7 @@ static struct image_keyword gs_format[GS_LAST] = | |||
| 11773 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, | 11773 | {":ascent", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}, |
| 11774 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, | 11774 | {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0}, |
| 11775 | {":relief", IMAGE_INTEGER_VALUE, 0}, | 11775 | {":relief", IMAGE_INTEGER_VALUE, 0}, |
| 11776 | {":algorithm", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, | 11776 | {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0}, |
| 11777 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 11777 | {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 11778 | }; | 11778 | }; |
| 11779 | 11779 | ||
| @@ -13841,8 +13841,8 @@ versions of Windows) characters."); | |||
| 13841 | staticpro (&Qxbm); | 13841 | staticpro (&Qxbm); |
| 13842 | QCtype = intern (":type"); | 13842 | QCtype = intern (":type"); |
| 13843 | staticpro (&QCtype); | 13843 | staticpro (&QCtype); |
| 13844 | QCalgorithm = intern (":algorithm"); | 13844 | QCconversion = intern (":conversion"); |
| 13845 | staticpro (&QCalgorithm); | 13845 | staticpro (&QCconversion); |
| 13846 | QCheuristic_mask = intern (":heuristic-mask"); | 13846 | QCheuristic_mask = intern (":heuristic-mask"); |
| 13847 | staticpro (&QCheuristic_mask); | 13847 | staticpro (&QCheuristic_mask); |
| 13848 | QCcolor_symbols = intern (":color-symbols"); | 13848 | QCcolor_symbols = intern (":color-symbols"); |