Mercurial > emacs
view lisp/toolbar/exit.xpm @ 32720:8530cd0a7455
(w32_per_char_metric): Remove HDC argument. Use
cached information in emulated XFontStruct to handle common cases
quickly. Do not allocate XCharStruct for return.
(w32_native_per_char_metric): New function.
(w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of
allocating one.
(x_produce_glyphs): Don't get an HDC. Change calls to
w32_per_char_metric to match arg change above. Remove calls to
free results.
(w32_get_glyph_overhangs): Ditto.
(w32_cache_char_metrics): New function.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sat, 21 Oct 2000 13:26:41 +0000 |
parents | 8f4a34146a9d |
children |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 6 1", " c Gray0", ". c #ae6e66e76a0a", "X c #c6c67d7d8181", "o c #cdcd86868989", "O c #e4e4e4e4dcdc", "+ c None", /* pixels */ "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++ +++++", "++++++++++ OOOOOO +++++", "++++++++++ OOOOOO +++++", "++++++++ OOOOOO +++++", "++++++++ . OOOOOO +++++", "+++ .X OO O +++++", "+++ ......Xo O O +++++", "+++ ......Xo OOOO +++++", "+++ .X OOOOO +++++", "++++++++ . OOOOOO +++++", "++++++++ OOOOOO +++++", "++++++++++ OOOO +++++", "++++++++++ OO +++++", "++++++++++ +++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++" };