Mercurial > emacs
view src/m/aviion-intel.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 | 375f2633d815 |
line wrap: on
line source
/* This file is minor changes for the Data General AViiON intel machines i586-dg-dguxR4* (tested on i586-dg-dguxR4.11MU04) Done by Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il */ #include "aviion.h" /* 1st load m88k DGUX definitions */ #define INTEL_DGUX /* define for future possible use */ /* Intel machines are LITTLE ENDIAN */ #undef WORDS_BIG_ENDIAN /* No correction needed for byte addresses */ #undef WORD_MACHINE #ifndef INTEL386 #define INTEL386 /* Identify as Intel machine */ #endif #undef m88k /* It sure is NOT a Motorola machine */ /* arch-tag: 7cbf89ef-237c-4da5-bdd0-8d569ae5f3ce (do not change this comment) */