Mercurial > emacs
annotate 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 |
rev | line source |
---|---|
32287 | 1 /* XPM */ |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32287
diff
changeset
|
2 static char *magick[] = { |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32287
diff
changeset
|
3 /* columns rows colors chars-per-pixel */ |
32452
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
4 "24 24 9 1", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
5 " c Gray0", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
6 ". c #4646424233b4", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
7 "X c #6f4d67895151", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
8 "o c #911b871c69df", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
9 "O c #b3d8a9b58836", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
10 "+ c #c280b9779c39", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
11 "@ c #cd0cc646ae2e", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
12 "# c #e0e0e4e4e0e0", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
13 "$ c None", |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32287
diff
changeset
|
14 /* pixels */ |
32452
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
15 "$$$$$$$$$$$$$$$$$$$$$$$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
16 "$$$$$$$$$$$$$$$$$$$$$$$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
17 "$$$$$$$$$$$$$$$$$$$$$$$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
18 "$$$$ $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
19 "$$$$ ################ $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
20 "$$$$ ##### O######## $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
21 "$$$$ #### oX O####### $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
22 "$$$$ @o $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
23 "$$$$ #### @o O####### $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
24 "$$$$ #### @o O##### $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
25 "$$$$ #### @o X. O## $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
26 "$$$$ +o OX oX $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
27 "$$$$ ## X +o Oo Oo oX $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
28 "$$$$ ## o +OoOOoOOOOo $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
29 "$$$$ ## O +++OOOOOOOX $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
30 "$$$$ O O++O+OOOOOX $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
31 "$$$$ ## ooO+++O+OOOOX $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
32 "$$$$ ### oO++++OOOOo. $$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
33 "$$$$ ### XOO++O+OOOo $$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
34 "$$$$ o++++OOOoX $$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
35 "$$$$$$$$$ XOO+++OOoX $$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
36 "$$$$$$$$$$ oO++OOOX $$$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
37 "$$$$$$$$$$$ OO++OOX $$$$", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
38 "$$$$$$$$$$$$$$$$$$$$$$$$" |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32287
diff
changeset
|
39 }; |