Mercurial > emacs
view src/chpdef.h @ 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 | 695cf19ef79e |
children | 9511dc88835c 375f2633d815 |
line wrap: on
line source
#define CHP$_END 0 #define CHP$_ACCESS 1 #define CHP$_FLAGS 2 #define CHP$_PRIV 3 #define CHP$_ACMODE 4 #define CHP$_ACCLASS 5 #define CHP$_RIGHTS 6 #define CHP$_ADDRIGHTS 7 #define CHP$_MODE 8 #define CHP$_MODES 9 #define CHP$_MINCLASS 10 #define CHP$_MAXCLASS 11 #define CHP$_OWNER 12 #define CHP$_PROT 13 #define CHP$_ACL 14 #define CHP$_AUDITNAME 15 #define CHP$_ALARMNAME 16 #define CHP$_MATCHEDACE 17 #define CHP$_PRIVUSED 18 #define CHP$_MAX_CODE 19 #define CHP$M_SYSPRV 1 #define CHP$M_BYPASS 2 #define CHP$M_UPGRADE 4 #define CHP$M_DOWNGRADE 8 #define CHP$M_GRPPRV 16 #define CHP$M_READALL 32 #define CHP$V_SYSPRV 0 #define CHP$V_BYPASS 1 #define CHP$V_UPGRADE 2 #define CHP$V_DOWNGRADE 3 #define CHP$V_GRPPRV 4 #define CHP$V_READALL 5 #define CHP$M_READ 1 #define CHP$M_WRITE 2 #define CHP$M_USEREADALL 4 #define CHP$V_READ 0 #define CHP$V_WRITE 1 #define CHP$V_USEREADALL 2 /* arch-tag: a7117984-e927-4f8e-932e-35d5fd524f12 (do not change this comment) */