Mercurial > hg > xemacs-beta
diff src/glyphs-x.c @ 357:4711e16a8e49 r21-1-8
Import from CVS: tag r21-1-8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:57:04 +0200 |
parents | 4f79e16b1112 |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/glyphs-x.c Mon Aug 13 10:56:23 2007 +0200 +++ b/src/glyphs-x.c Mon Aug 13 10:57:04 2007 +0200 @@ -42,6 +42,7 @@ GIF/JPEG/PNG/TIFF code moved to new glyph-eimage.c for 21.0 TODO: + Support the GrayScale, StaticColor and StaticGray visual classes. Convert images.el to C and stick it in here? */ @@ -133,6 +134,13 @@ vis = DEVICE_X_VISUAL (XDEVICE(device)); depth = DEVICE_X_DEPTH(XDEVICE(device)); + if (vis->class == GrayScale || vis->class == StaticColor || + vis->class == StaticGray) + { + /* #### Implement me!!! */ + return NULL; + } + if (vis->class == PseudoColor) { /* Quantize the image and get a histogram while we're at it.