diff options
| author | Jan Djärv | 2013-11-01 16:47:10 +0100 |
|---|---|---|
| committer | Jan Djärv | 2013-11-01 16:47:10 +0100 |
| commit | 3c334c1412e708585fddba61b7f91e0902a830f4 (patch) | |
| tree | fb063b9f306719816335d12601735648e4fbba41 /src/ChangeLog | |
| parent | 9bc236c8263bc81f1b540579a9f98d872ab2da46 (diff) | |
| download | emacs-3c334c1412e708585fddba61b7f91e0902a830f4.tar.gz emacs-3c334c1412e708585fddba61b7f91e0902a830f4.zip | |
Add :distant-foreground to faces.
* doc/lispref/display.texi (Face Attributes): Document :distant-foreground.
* etc/NEWS: Mention :distant-foreground.
* lisp/faces.el (face-x-resources): Add :distant-foreground.
(region): Use :distant-foreground for gtk and ns.
* src/dispextern.h (lface_attribute_index): Add
LFACE_DISTANT_FOREGROUND_INDEX.
* src/xfaces.c: Declare color_distance.
(QCdistant_foreground): New variable.
(NEAR_SAME_COLOR_THRESHOLD): New define.
(load_color2): New function.
(load_color): Call load_color2.
(load_face_colors): Call load_color2 and if distant-color is specified
calculate distant and use distant-color if colors are near.
(LFACE_DISTANT_FOREGROUND): New define.
(merge_face_ref, Finternal_set_lisp_face_attribute)
(Finternal_get_lisp_face_attribute)
(x_supports_face_attributes_p): Handle distant-foreground similar to
foreground.
(syms_of_xfaces): DEFSYM QCdistant_foreground.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d7cf7d47b0b..8186e220d7d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2013-11-01 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xfaces.c: Declare color_distance. | ||
| 4 | (QCdistant_foreground): New variable. | ||
| 5 | (NEAR_SAME_COLOR_THRESHOLD): New define. | ||
| 6 | (load_color2): New function. | ||
| 7 | (load_color): Call load_color2. | ||
| 8 | (load_face_colors): Call load_color2 and if distant-color is specified | ||
| 9 | calculate distant and use distant-color if colors are near. | ||
| 10 | (LFACE_DISTANT_FOREGROUND): New define. | ||
| 11 | (merge_face_ref, Finternal_set_lisp_face_attribute) | ||
| 12 | (Finternal_get_lisp_face_attribute) | ||
| 13 | (x_supports_face_attributes_p): Handle distant-foreground similar to | ||
| 14 | foreground. | ||
| 15 | (syms_of_xfaces): DEFSYM QCdistant_foreground. | ||
| 16 | |||
| 17 | * dispextern.h (lface_attribute_index): Add | ||
| 18 | LFACE_DISTANT_FOREGROUND_INDEX. | ||
| 19 | |||
| 1 | 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> | 20 | 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> |
| 2 | 21 | ||
| 3 | * image.c (pbm_next_char): New function. See | 22 | * image.c (pbm_next_char): New function. See |