diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-15 11:06:05 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-15 11:06:05 +0400 |
commit | c7cc32f7ab5a5a0b4037cb17b84b396fd079747b (patch) | |
tree | 12a9b53a4d331a0fa301bc0b155e5ac10fb59e92 /src/frame.h | |
parent | 07013c68954574404c3f7fc640ec4bfc34a4e3b8 (diff) |
* frame.h (FRAME_SMALLEST_CHAR_WIDTH, FRAME_SMALLEST_FONT_HEIGHT):
Define once here...
* nsterm.h, w32term.h, xterm.h: ...and not here.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h index ea550f4a2f..d8a6d38009 100644 --- a/src/frame.h +++ b/src/frame.h @@ -1131,6 +1131,15 @@ extern Lisp_Object selected_frame; (FRAME_PIXEL_Y_TO_LINE (f, ((height) \ - FRAME_INTERNAL_BORDER_WIDTH (f)))) +/* Value is the smallest width of any character in any font on frame F. */ + +#define FRAME_SMALLEST_CHAR_WIDTH(f) \ + FRAME_DISPLAY_INFO (f)->smallest_char_width + +/* Value is the smallest height of any font on frame F. */ + +#define FRAME_SMALLEST_FONT_HEIGHT(f) \ + FRAME_DISPLAY_INFO (f)->smallest_font_height /*********************************************************************** Frame Parameters |