view etc/gnu.xpm @ 56104:a450e67752ed

(Vimage_types): Move from xdisp.c. (Vimage_type_cache): New variable. (define_image_type): New argument indicating whether an image library was loaded; cache loaded status and return t on success, nil otherwise. (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. (w32_delayed_load): New function to load an image library from a list of possible filenames. (init_xpm_functions, init_png_functions, init_jpeg_functions) (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. (Finit_image_library): New function, extracted from `init_image'. Try to initialize an image library on demand and cache whether we were successful or not. (syms_of_image): Initialize `Vimage_types' and `Vimage_type_cache'. Add recognized image types to Vimage_types. Export `init-image-library'. (init_image): Remove initialization of all image types, except xbm and pbm.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 14 Jun 2004 20:47:25 +0000
parents 23a1cea22d13
children
line wrap: on
line source

/* XPM */
/*****************************************************************************/
/* GNU Emacs bitmap conv. to pixmap by Przemek Klosowski (przemek@nist.gov)  */
/*****************************************************************************/
static char * image_name [] = {
/**/
"50 50 7 1",
/**/
" 	s mask	c none",
"B      c blue",
"x      c black",
":      c sandy brown",
"+      c saddle brown",
"'      c grey",
".      c white",
"                                                  ",
"                                                  ",
"                                    x             ",
"                                     :x           ",
"                                     :::x         ",
"                                       ::x        ",
"           x                             ::x      ",
"          x:                xxx          :::x     ",
"         x:           xxx xxx:xxx         x::x    ",
"        x::       xxxx::xxx:::::xx        x::x    ",
"       x::       x:::::::xx::::::xx       x::x    ",
"       x::      xx::::::::x:::::::xx     xx::x    ",
"      x::      xx::::::::::::::::::x    xx::xx    ",
"     x::x     xx:::::xxx:::::::xxx:xxx xx:::xx    ",
"    x:::x    xx:::::xx...xxxxxxxxxxxxxxx:::xx     ",
"    x:::x   xx::::::xx..xxx...xxxx...xxxxxxxx     ",
"    x:::x   x::::::xx.xxx.......x.x.......xxxx    ",
"    x:::xx x:::x::xx.xx..........x.xx.........x   ",
"    x::::xx::xx:::x.xx....''''x'x'x''.xxx.....x   ",
"    xx::::xxxx::xx.xx.xxxx.'''''''.xxx    xxxx    ",
"     xx::::::::xx..x.xxx..'''''''''.xx            ",
"     xxx:::::xxx..xx.xx.xx.xxx.'''''.xx           ",
"       xxx::xx...xx.xx.BBBB..xx''''''xx           ",
"        xxxx.....xx.xxBB:BB.xx'''''''xx           ",
"         xx.....xx...x.BBBx.xxx''''''xx           ",
"        x....xxxx..xx...xxx''''''''''xx           ",
"        x..xxxxxx..x.......x..''''''''xx          ",
"        x.x xxx.x.x.x...xxxx.'''''''''xx          ",
"         x  xxx.x.x.xx...xx..'''''''''xx          ",
"           xx.x..x.x.xx........''''''''x          ",
"          xx'.xx.x.x.x.x.......'''''''''x         ",
"          xx'..xxxx..x...x.......'''''''x         ",
"          xx''.xx.x..xx...x.......'''.xxx         ",
"          xx''..x.x.x.x.x.xx.xxxxx.'.xx+xx        ",
"          xx''..x.xx..xx.x.x.x+++xxxxx+++x        ",
"          xx'''.x..xxx.x.x.x.x+++++xxx+xxx        ",
"           xx''.xx..x..xx.xxxx++x+++x++xxx        ",
"           xx''..xx.xxx.xxx.xxx++xx+x++xx         ",
"            xx'''.xx.xx..xx.xxxx++x+++xxx         ",
"            xx'''.xxx.xx.xxxxxxxxx++++xxx         ",
"             xx''...xx.xx.xxxxxx++xxxxxxx         ",
"             xx''''..x..xxx..xxxx+++++xx          ",
"              xx''''..x..xx..xxxx++++xx           ",
"               xxx'''''x.xx.xxxxxxxxxxx           ",
"                xxx'''''..xxx    xxxxx            ",
"                 xxxx''''xxxx                     ",
"                   xxx'''xxx                      ",
"                     xxxxx                        ",
"                                                  ",
"                                                  "
};