Mercurial > hg > xemacs-beta
comparison src/glyphs.c @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | 9f59509498e1 |
children | d2f30a177268 |
comparison
equal
deleted
inserted
replaced
119:d101af7320b8 | 120:cca96a509cfe |
---|---|
142 } | 142 } |
143 | 143 |
144 DEFUN ("valid-image-instantiator-format-p", | 144 DEFUN ("valid-image-instantiator-format-p", |
145 Fvalid_image_instantiator_format_p, 1, 1, 0, /* | 145 Fvalid_image_instantiator_format_p, 1, 1, 0, /* |
146 Given an IMAGE-INSTANTIATOR-FORMAT, return non-nil if it is valid. | 146 Given an IMAGE-INSTANTIATOR-FORMAT, return non-nil if it is valid. |
147 Valid formats are some subset of 'nothing, 'string, 'formatted-string, 'xpm, | 147 Valid formats are some subset of 'nothing, 'string, 'formatted-string, |
148 'xbm, 'xface, 'gif, 'jpeg, 'png, 'tiff, 'cursor-font, 'font, 'autodetect, | 148 'xpm, 'xbm, 'xface, 'gif, 'jpeg, 'png, 'tiff, 'cursor-font, 'font, |
149 and 'subwindow, depending on how XEmacs was compiled. | 149 'automatic-conversion, and 'subwindow, depending on how XEmacs was |
150 compiled. | |
150 */ | 151 */ |
151 (image_instantiator_format)) | 152 (image_instantiator_format)) |
152 { | 153 { |
153 if (valid_image_instantiator_format_p (image_instantiator_format)) | 154 if (valid_image_instantiator_format_p (image_instantiator_format)) |
154 return Qt; | 155 return Qt; |
1834 of the form \"FONT fontname index [[mask-font] mask-index]\". | 1835 of the form \"FONT fontname index [[mask-font] mask-index]\". |
1835 Currently can only be instanced as `pointer', although this should | 1836 Currently can only be instanced as `pointer', although this should |
1836 probably be fixed.) | 1837 probably be fixed.) |
1837 'subwindow | 1838 'subwindow |
1838 (An embedded X window; not currently implemented.) | 1839 (An embedded X window; not currently implemented.) |
1839 'autodetect | 1840 'automatic-conversion |
1840 (XEmacs tries to guess what format the data is in. If X support | 1841 (XEmacs tries to guess what format the data is in. If X support |
1841 exists, the data string will be checked to see if it names a filename. | 1842 exists, the data string will be checked to see if it names a filename. |
1842 If so, and this filename contains XBM or XPM data, the appropriate | 1843 If so, and this filename contains XBM or XPM data, the appropriate |
1843 sort of pixmap or pointer will be created. [This includes picking up | 1844 sort of pixmap or pointer will be created. [This includes picking up |
1844 any specified hotspot or associated mask file.] Otherwise, if `pointer' | 1845 any specified hotspot or associated mask file.] Otherwise, if `pointer' |
1861 If both :data and :file are specified, the image is created from | 1862 If both :data and :file are specified, the image is created from |
1862 what is specified in :data and the string in :file becomes the | 1863 what is specified in :data and the string in :file becomes the |
1863 value of the `image-instance-file-name' function when applied to | 1864 value of the `image-instance-file-name' function when applied to |
1864 the resulting image-instance. This keyword is not valid for | 1865 the resulting image-instance. This keyword is not valid for |
1865 instantiator formats `nothing', `string', `formatted-string', | 1866 instantiator formats `nothing', `string', `formatted-string', |
1866 `cursor-font', `font', `autodetect', and `inherit'.) | 1867 `cursor-font', `font', `automatic-conversion', and `inherit'.) |
1867 :foreground | 1868 :foreground |
1868 :background | 1869 :background |
1869 (For `xbm', `xface', `cursor-font', and `font'. These keywords | 1870 (For `xbm', `xface', `cursor-font', and `font'. These keywords |
1870 allow you to explicitly specify foreground and background colors. | 1871 allow you to explicitly specify foreground and background colors. |
1871 The argument should be anything acceptable to `make-color-instance'. | 1872 The argument should be anything acceptable to `make-color-instance'. |