Mercurial > emacs
annotate etc/images/refresh.xpm @ 83436:f67e432d150c
Fix crash in lookup_image on termcap frames.
* src/xdisp.c (get_glyph_string_clip_rects): Add extra parentheses and
braces to prevent compiler warnings.
(calc_pixel_width_or_height): Add xassert to check that the
frame is alive. Don't call `lookup_image' on a termcap frame.
* image.c (lookup_image): Don't initialize `c' until the xasserts have
been run.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-476
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 30 Dec 2005 05:29:31 +0000 |
parents | eef36feee76a |
children | ed7704221f2b |
rev | line source |
---|---|
65755
7b615e6c0ea5
2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
1 /* XPM */ |
65761
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
2 static char * refresh_xpm[] = { |
65760
7b12e6f821dc
2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents:
65755
diff
changeset
|
3 "24 24 86 1", |
65761
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
4 " c None", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
5 ". c #000000", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
6 "+ c #F3F6F8", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
7 "@ c #C8D4DF", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
8 "# c #F7F9FA", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
9 "$ c #0D110C", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
10 "% c #6286A5", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
11 "& c #A0B6C9", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
12 "* c #C9D5E0", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
13 "= c #F2F5F7", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
14 "- c #172116", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
15 "; c #819EB6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
16 "> c #CAD6E1", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
17 ", c #CCD7E1", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
18 "' c #CED9E3", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
19 ") c #F6F8F9", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
20 "! c #7192AE", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
21 "~ c #587B99", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
22 "{ c #CDD8E2", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
23 "] c #CFDAE4", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
24 "^ c #D3DDE6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
25 "/ c #D5DEE6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
26 "( c #ADC0D0", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
27 "_ c #90A9BF", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
28 ": c #537490", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
29 "< c #23323E", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
30 "[ c #85A1B8", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
31 "} c #5E83A3", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
32 "| c #6084A3", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
33 "1 c #6689A7", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
34 "2 c #678AA8", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
35 "3 c #48657D", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
36 "4 c #A8BCCD", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
37 "5 c #7393AE", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
38 "6 c #6B8DAA", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
39 "7 c #5C81A1", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
40 "8 c #5D82A2", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
41 "9 c #6588A6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
42 "0 c #435F76", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
43 "a c #B1C3D2", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
44 "b c #50718D", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
45 "c c #9FB5C8", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
46 "d c #94ACC1", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
47 "e c #425D73", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
48 "f c #435E74", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
49 "g c #B4C5D3", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
50 "h c #6C8EAB", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
51 "i c #C4D2DD", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
52 "j c #5B80A0", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
53 "k c #456178", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
54 "l c #7595B0", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
55 "m c #BFCEDA", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
56 "n c #597D9C", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
57 "o c #A3B8CA", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
58 "p c #B0C2D1", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
59 "q c #86A2B9", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
60 "r c #6E8FAB", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
61 "s c #E1E8EE", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
62 "t c #B9C9D6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
63 "u c #6387A6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
64 "v c #4C6B85", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
65 "w c #7F9DB6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
66 "x c #BCCCD9", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
67 "y c #DDE5EC", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
68 "z c #E4EAEF", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
69 "A c #D8E1E9", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
70 "B c #D1DBE4", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
71 "C c #C7D3DE", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
72 "D c #B7C8D6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
73 "E c #7091AD", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
74 "F c #537592", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
75 "G c #9DB3C6", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
76 "H c #8CA7BD", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
77 "I c #304353", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
78 "J c #4E6E89", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
79 "K c #829FB7", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
80 "L c #92ABC0", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
81 "M c #C5D3DE", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
82 "N c #7C9AB3", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
83 "O c #5A7E9D", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
84 "P c #47647C", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
85 "Q c #6185A4", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
86 "R c #5B7F9E", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
87 "S c #4F6F8A", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
88 "T c #405A71", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
89 "U c #283926", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
90 " . ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
91 " .. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
92 " .+. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
93 " ....@#. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
94 " $%&@@**=. .. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
95 " -;@@**>,'). .!~. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
96 " .%@**>,{]^/(. ._:. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
97 " <&@[}}|%123. .4. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
98 ".5@678|%920. .ab. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
99 ".cd7e...1f. . .gh. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
100 ".ijb. .k. .. .al. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
101 ".mn. .. .'. .op5. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
102 ".qr. . .*s...at4u. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
103 ".vw. .xyzyABCDEF. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
104 " .G. .p'B,@ixaH2I. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
105 " .JK. .LM@,>>MmNOP. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
106 " .F9. .9|%Q|}7RS.. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
107 " .. .|R~~nJT.. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
108 " .j~.... ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
109 " UO. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
110 " .. ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
111 " . ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
112 " ", |
eef36feee76a
Convert did a nasty job on the image.
Bill Wohler <wohler@newt.com>
parents:
65760
diff
changeset
|
113 " "}; |