Mercurial > emacs
view lisp/toolbar/index.xpm @ 55244:c5bad07bbb95
(init_iterator): Handle line-spacing float value.
Initialize override_ascent member.
(append_space_for_newline): Reset override_ascent.
Remove use_default_face.
(calc_line_height_property): New function to calculate value of
line-height and line-spacing properties. Look at overlays, too.
Set override_ascent, override_descent, override_boff members when
using another face than the current face. Float values are now
relative to the frame default font, by default; accept a cons
of ratio and face name to specify value relative to a specific face.
(x_produce_glyphs): Use calc_line_height_property.
Use override_ascent etc. when set to handle different face heights.
A negative line-spacing property value is interpreted as a total
line height, rather than inter-line spacing.
(note_mouse_highlight): Allocate room for 40 overlays initially.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 29 Apr 2004 22:37:52 +0000 |
parents | 8f4a34146a9d |
children | 734ff40978ad |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 9 1", " c Gray0", ". c #4646424233b4", "X c #6f4d67895151", "o c #911b871c69df", "O c #b3d8a9b58836", "+ c #c280b9779c39", "@ c #cd0cc646ae2e", "# c #e0e0e4e4e0e0", "$ c None", /* pixels */ "$$$$$$$$$$$$$$$$$$$$$$$$", "$$$$$$$$$$$$$$$$$$$$$$$$", "$$$$$$$$$$$$$$$$$$$$$$$$", "$$$$ $$", "$$$$ ################ $$", "$$$$ ##### O######## $$", "$$$$ #### oX O####### $$", "$$$$ @o $$", "$$$$ #### @o O####### $$", "$$$$ #### @o O##### $$", "$$$$ #### @o X. O## $$", "$$$$ +o OX oX $$", "$$$$ ## X +o Oo Oo oX $$", "$$$$ ## o +OoOOoOOOOo $$", "$$$$ ## O +++OOOOOOOX $$", "$$$$ O O++O+OOOOOX $$", "$$$$ ## ooO+++O+OOOOX $$", "$$$$ ### oO++++OOOOo. $$", "$$$$ ### XOO++O+OOOo $$$", "$$$$ o++++OOOoX $$$", "$$$$$$$$$ XOO+++OOoX $$$", "$$$$$$$$$$ oO++OOOX $$$$", "$$$$$$$$$$$ OO++OOX $$$$", "$$$$$$$$$$$$$$$$$$$$$$$$" };