/[emacs]/emacs/src/dispextern.h
ViewVC logotype

Diff of /emacs/src/dispextern.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.123 by eliz, Fri Jan 25 13:22:37 2002 UTC revision 1.124 by kfstorm, Fri Feb 8 23:48:50 2002 UTC
# Line 923  extern struct glyph_row scratch_glyph_ro Line 923  extern struct glyph_row scratch_glyph_ro
923        ? MATRIX_HEADER_LINE_ROW (MATRIX)->height \        ? MATRIX_HEADER_LINE_ROW (MATRIX)->height \
924        : 0)        : 0)
925    
926    /* Return the desired face id for the mode line of window W.
927       This depends on whether the window is selected or not.  */
928    
929    #define CURRENT_MODE_LINE_FACE_ID(W)            \
930         ((W) == selected_window                    \
931          ? MODE_LINE_FACE_ID                       \
932          : MODE_LINE_INACTIVE_FACE_ID)
933    
934  /* Return the current height of the mode line of window W.  If not  /* Return the current height of the mode line of window W.  If not
935     known from current_mode_line_height, look at W's current glyph     known from current_mode_line_height, look at W's current glyph
936     matrix, or return a default based on the height of the font of the     matrix, or return a default based on the height of the font of the
# Line 934  extern struct glyph_row scratch_glyph_ro Line 942  extern struct glyph_row scratch_glyph_ro
942        : (MATRIX_MODE_LINE_HEIGHT ((W)->current_matrix)          \        : (MATRIX_MODE_LINE_HEIGHT ((W)->current_matrix)          \
943           ? MATRIX_MODE_LINE_HEIGHT ((W)->current_matrix)        \           ? MATRIX_MODE_LINE_HEIGHT ((W)->current_matrix)        \
944           : estimate_mode_line_height (XFRAME ((W)->frame),      \           : estimate_mode_line_height (XFRAME ((W)->frame),      \
945                                        MODE_LINE_FACE_ID)))                                        CURRENT_MODE_LINE_FACE_ID (W))))
946    
947  /* Return the current height of the header line of window W.  If not  /* Return the current height of the header line of window W.  If not
948     known from current_header_line_height, look at W's current glyph     known from current_header_line_height, look at W's current glyph
# Line 1353  enum face_id Line 1361  enum face_id
1361  {  {
1362    DEFAULT_FACE_ID,    DEFAULT_FACE_ID,
1363    MODE_LINE_FACE_ID,    MODE_LINE_FACE_ID,
1364      MODE_LINE_INACTIVE_FACE_ID,
1365    TOOL_BAR_FACE_ID,    TOOL_BAR_FACE_ID,
1366    FRINGE_FACE_ID,    FRINGE_FACE_ID,
1367    HEADER_LINE_FACE_ID,    HEADER_LINE_FACE_ID,

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.124

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26