diff options
| author | Martin Rudalics | 2014-02-04 08:36:58 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-02-04 08:36:58 +0100 |
| commit | 764ec9e5f0adaff96b52252eea71eb30ef7cefa1 (patch) | |
| tree | 1aaf762a76e795be19e9a2279db36b496b0d1e15 /src/dispextern.h | |
| parent | 6da8227cfa5bc7f428346e78d028a83a385f908f (diff) | |
| download | emacs-764ec9e5f0adaff96b52252eea71eb30ef7cefa1.tar.gz emacs-764ec9e5f0adaff96b52252eea71eb30ef7cefa1.zip | |
Improve window dividers code.
* faces.el (window-divider): New default value. Rewrite
doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New
faces.
* dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
* w32term.c (w32_draw_window_divider): Handle first and last
pixels specially.
* w32term.h (w32_fill_area_abs): New function.
* xdisp.c (x_draw_right_divider): Don't draw over bottom
divider.
* xfaces.c (realize_basic_faces): Handle new face ids.
* xfns.c (Fx_create_frame): Call x_default_parameter for right
and bottom divider width.
* xterm.c (x_draw_window_divider): Handle first and last pixels
specially.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index a5dd054c123..9ecd4ecdf7e 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1765,6 +1765,8 @@ enum face_id | |||
| 1765 | MENU_FACE_ID, | 1765 | MENU_FACE_ID, |
| 1766 | VERTICAL_BORDER_FACE_ID, | 1766 | VERTICAL_BORDER_FACE_ID, |
| 1767 | WINDOW_DIVIDER_FACE_ID, | 1767 | WINDOW_DIVIDER_FACE_ID, |
| 1768 | WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID, | ||
| 1769 | WINDOW_DIVIDER_LAST_PIXEL_FACE_ID, | ||
| 1768 | BASIC_FACE_ID_SENTINEL | 1770 | BASIC_FACE_ID_SENTINEL |
| 1769 | }; | 1771 | }; |
| 1770 | 1772 | ||