Mercurial > emacs
annotate lisp/toolbar/fld_open.xpm @ 54227:b35f97c56fa4
(Voverlay_arrow_variable_list): New variable to properly
implement and integrate multiple overlay arrows with redisplay.
(syms_of_xdisp): DEFVAR_LISP and initialize it.
(last_arrow_position, last_arrow_string): Replace by properties.
(Qlast_arrow_position, Qlast_arrow_string)
(Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables.
(syms_of_xdisp): Intern and staticpro them.
(overlay_arrow_string_or_property, update_overlay_arrows)
(overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p)
(overlay_arrow_at_row): New functions for multiple overlay arrows.
(redisplay_internal): Use them instead of directly accessing
Voverlay_arrow_position etc. for multiple overlay arrows.
(mark_window_display_accurate): Use update_overlay_arrows.
(try_cursor_movement): Use overlay_arrow_in_current_buffer_p.
(try_window_id): Use overlay_arrows_changed_p.
(get_overlay_arrow_glyph_row): Add overlay_arrow_string arg.
(display_line): Use overlay_arrow_at_row to check multiple
overlay arrows, and get relevant overlay-arrow-string and
overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly.
(produce_image_glyph): Set pixel_width = 0 for fringe bitmap.
(syms_of_xdisp): Remove last_arrow_position and last_arrow_string.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 01 Mar 2004 23:55:52 +0000 |
parents | 8f4a34146a9d |
children |
rev | line source |
---|---|
31591 | 1 /* XPM */ |
2 static char *magick[] = { | |
3 /* columns rows colors chars-per-pixel */ | |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
4 "24 24 4 1", |
32452
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 #909090909090", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
7 "X c #fefefefefefe", |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
8 "o c None", |
31591 | 9 /* pixels */ |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
10 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
11 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
12 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
13 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
14 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
15 "oooooooooooooo oooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
16 "ooooooooooo .. ooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
17 "oooo oo ....XXo ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
18 "ooo .. ....XXXX .. ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
19 "ooo .....XXXXX .... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
20 "oooo ..XXXXX ...... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
21 "oooo ..XXX ........ ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
22 "ooooo .XX .......... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
23 "ooooo ..X .......... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
24 "oooooo .X .......... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
25 "oooooo .. ........ oooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
26 "ooooooo . ...... oooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
27 "ooooooo . ..... oooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
28 "oooooooo ... ooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
29 "oooooooo . ooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
30 "ooooooooo ooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
31 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
32 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
32343
diff
changeset
|
33 "oooooooooooooooooooooooo" |
31591 | 34 }; |