diff options
| author | Leo Liu | 2012-07-14 19:44:39 +0800 |
|---|---|---|
| committer | Leo Liu | 2012-07-14 19:44:39 +0800 |
| commit | cd276f6ef3d46505dcaf6245c303713023e74ae2 (patch) | |
| tree | c5eef0f2521230aa541af0573e97e80af9bccfcd /src | |
| parent | d9bee43796f52653903d065b51b7a9d3152c271c (diff) | |
| download | emacs-cd276f6ef3d46505dcaf6245c303713023e74ae2.tar.gz emacs-cd276f6ef3d46505dcaf6245c303713023e74ae2.zip | |
Add a new bitmap exclamation-mark
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fringe.c | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 29ec8ffb6d2..eca3f526bc1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-07-14 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * fringe.c: Add a new bitmap exclamation-mark. | ||
| 4 | |||
| 1 | 2012-07-14 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-07-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * gmalloc.c (GMALLOC_INHIBIT_VALLOC): Don't reference. | 7 | * gmalloc.c (GMALLOC_INHIBIT_VALLOC): Don't reference. |
diff --git a/src/fringe.c b/src/fringe.c index 4ab9c770326..8de14ef4544 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -107,6 +107,22 @@ struct fringe_bitmap | |||
| 107 | static unsigned short question_mark_bits[] = { | 107 | static unsigned short question_mark_bits[] = { |
| 108 | 0x3c, 0x7e, 0x7e, 0x0c, 0x18, 0x18, 0x00, 0x18, 0x18}; | 108 | 0x3c, 0x7e, 0x7e, 0x0c, 0x18, 0x18, 0x00, 0x18, 0x18}; |
| 109 | 109 | ||
| 110 | /* A exclamation mark. */ | ||
| 111 | /* | ||
| 112 | ...XX... | ||
| 113 | ...XX... | ||
| 114 | ...XX... | ||
| 115 | ...XX... | ||
| 116 | ...XX... | ||
| 117 | ...XX... | ||
| 118 | ...XX... | ||
| 119 | ........ | ||
| 120 | ...XX... | ||
| 121 | ...XX... | ||
| 122 | */ | ||
| 123 | static unsigned short exclamation_mark_bits[] = { | ||
| 124 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18}; | ||
| 125 | |||
| 110 | /* An arrow like this: `<-'. */ | 126 | /* An arrow like this: `<-'. */ |
| 111 | /* | 127 | /* |
| 112 | ...xx... | 128 | ...xx... |
| @@ -432,6 +448,7 @@ static struct fringe_bitmap standard_bitmaps[] = | |||
| 432 | { | 448 | { |
| 433 | { NULL, 0, 0, 0, 0, 0 }, /* NO_FRINGE_BITMAP */ | 449 | { NULL, 0, 0, 0, 0, 0 }, /* NO_FRINGE_BITMAP */ |
| 434 | { FRBITS (question_mark_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, | 450 | { FRBITS (question_mark_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, |
| 451 | { FRBITS (exclamation_mark_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, | ||
| 435 | { FRBITS (left_arrow_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, | 452 | { FRBITS (left_arrow_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, |
| 436 | { FRBITS (right_arrow_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, | 453 | { FRBITS (right_arrow_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, |
| 437 | { FRBITS (up_arrow_bits), 8, 0, ALIGN_BITMAP_TOP, 0 }, | 454 | { FRBITS (up_arrow_bits), 8, 0, ALIGN_BITMAP_TOP, 0 }, |