diff options
| author | Juri Linkov | 2026-04-14 20:14:15 +0300 |
|---|---|---|
| committer | Juri Linkov | 2026-04-14 20:14:15 +0300 |
| commit | 0384600a21fb363e623afa658d1e66a54f79d2fb (patch) | |
| tree | 8b7666d5bc0152b3f6fc8b8805c32a25b1422661 /mps/code/vmsu.c | |
| parent | a1899d8cb17e82e9729d39ce12ca0a8575690353 (diff) | |
| download | emacs-0384600a21fb363e623afa658d1e66a54f79d2fb.tar.gz emacs-0384600a21fb363e623afa658d1e66a54f79d2fb.zip | |
New faces 'tab-line-active' and 'tab-line-inactive' (bug#80742)
This is intended to parallel the 'mode-line-active/inactive'
and 'header-line-active/inactive' distinction.
* doc/emacs/display.texi (Standard Faces): Document the new faces.
* lisp/faces.el (tab-line-active, tab-line-inactive): Add new faces.
* lisp/tab-line.el (tab-line-faces): Add new faces
to MEMBERS arg of 'defgroup'.
(tab-line-auto-hscroll): Use one of the faces
depending on 'mode-line-window-selected-p'.
* src/dispextern.h (CURRENT_TAB_LINE_ACTIVE_FACE_ID_3)
(CURRENT_TAB_LINE_ACTIVE_FACE_ID): New macros
based on header-line equivalents.
(CURRENT_TAB_LINE_HEIGHT): Use CURRENT_TAB_LINE_ACTIVE_FACE_ID.
(face_id): Use TAB_LINE_ACTIVE_FACE_ID and
TAB_LINE_INACTIVE_FACE_ID instead of TAB_LINE_FACE_ID.
* src/xdisp.c (window_box_height, pos_visible_p, init_iterator)
(window_text_pixel_size, display_mode_lines, display_mode_line)
(format-mode-line): Replace all uses of TAB_LINE_FACE_ID with
either a new macro or the new face IDs.
* src/xfaces.c (lookup_basic_face, realize_basic_faces):
Map new face IDs to their lisp symbols.
(syms_of_xfaces): New lisp symbols.
Diffstat (limited to 'mps/code/vmsu.c')
0 files changed, 0 insertions, 0 deletions