diff options
author | Kim F. Storm <storm@cua.dk> | 2006-03-02 21:55:26 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-03-02 21:55:26 +0000 |
commit | c07b35ec17a9c2f51ca6b80317aa10c71a0f4899 (patch) | |
tree | bcce26a3cee6275176a5dd95993a8ea61c361e03 /lisp/emacs-lisp/byte-run.el | |
parent | 045cff16b9ca7da96e7a8365317ac35759cbb13f (diff) | |
download | emacs-c07b35ec17a9c2f51ca6b80317aa10c71a0f4899.tar.gz emacs-c07b35ec17a9c2f51ca6b80317aa10c71a0f4899.tar.bz2 emacs-c07b35ec17a9c2f51ca6b80317aa10c71a0f4899.zip |
Minimize the unpleasent visual impact of the requirement
that non-toolkit tool-bars must occupy an integral number of screen
lines, by distributing the rows evenly over the tool-bar screen area.
(Vtool_bar_border): New variable.
(syms_of_xdisp): DEFVAR_LISP it.
(display_tool_bar_line): Add HEIGHT arg for desired row height. Make
tool-bar row the desired height. Use default face for border below
tool-bar.
(tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of
actual tool-bar rows.
(redisplay_tool_bar): Calculate f->n_tool_bar_rows initially.
Adjust the height of the tool-bar rows to fill tool-bar screen area.
(redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area
is resized.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions