235 |
|
|
236 |
void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME)); |
void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME)); |
237 |
|
|
|
/* Hook to call in estimate_mode_line_height, if any. */ |
|
|
|
|
|
int (* estimate_mode_line_height_hook) P_ ((struct frame *f, enum face_id)); |
|
|
|
|
|
|
|
238 |
/* Strings, numbers and flags taken from the termcap entry. */ |
/* Strings, numbers and flags taken from the termcap entry. */ |
239 |
|
|
240 |
char *TS_ins_line; /* "al" */ |
char *TS_ins_line; /* "al" */ |
1802 |
} |
} |
1803 |
|
|
1804 |
|
|
|
/* Return an estimation of the pixel height of mode or top lines on |
|
|
frame F. FACE_ID specifies what line's height to estimate. */ |
|
|
|
|
|
int |
|
|
estimate_mode_line_height (f, face_id) |
|
|
struct frame *f; |
|
|
enum face_id face_id; |
|
|
{ |
|
|
if (estimate_mode_line_height_hook) |
|
|
return estimate_mode_line_height_hook (f, face_id); |
|
|
else |
|
|
return 1; |
|
|
} |
|
|
|
|
|
|
|
1805 |
|
|
1806 |
/*********************************************************************** |
/*********************************************************************** |
1807 |
Faces |
Faces |