diff options
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 @@ +2012-07-14 Leo Liu <sdl.web@gmail.com> + + * fringe.c: Add a new bitmap exclamation-mark. + 2012-07-14 Eli Zaretskii <eliz@gnu.org> * 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 static unsigned short question_mark_bits[] = { 0x3c, 0x7e, 0x7e, 0x0c, 0x18, 0x18, 0x00, 0x18, 0x18}; +/* A exclamation mark. */ +/* + ...XX... + ...XX... + ...XX... + ...XX... + ...XX... + ...XX... + ...XX... + ........ + ...XX... + ...XX... +*/ +static unsigned short exclamation_mark_bits[] = { + 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18}; + /* An arrow like this: `<-'. */ /* ...xx... @@ -432,6 +448,7 @@ static struct fringe_bitmap standard_bitmaps[] = { { NULL, 0, 0, 0, 0, 0 }, /* NO_FRINGE_BITMAP */ { FRBITS (question_mark_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, + { FRBITS (exclamation_mark_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, { FRBITS (left_arrow_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, { FRBITS (right_arrow_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, { FRBITS (up_arrow_bits), 8, 0, ALIGN_BITMAP_TOP, 0 }, |