Mercurial > emacs
view oldXMenu/README @ 69242:b3f04bf9fce0
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.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 02 Mar 2006 21:55:26 +0000 |
parents | 23a1cea22d13 |
children | 7cdfa9a1f509 |
line wrap: on
line source
This directory contains the source code for the X11R2 XMenu library. As of Release 2 of the X Window System, Version 11 from MIT, the XMenu library no longer supported. It is not used in any software supplied by MIT and its use is not encouraged.