aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index a77e49ace73..ce6ceebf02a 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -93,6 +93,10 @@ extern struct x_output tty_display;
93 93
94#endif /* ! MSDOS && ! WINDOWSNT && ! MAC_OS */ 94#endif /* ! MSDOS && ! WINDOWSNT && ! MAC_OS */
95 95
96#ifdef USE_FONT_BACKEND
97struct font_driver_list;
98#endif /* USE_FONT_BACKEND */
99
96struct frame 100struct frame
97{ 101{
98 EMACS_INT size; 102 EMACS_INT size;
@@ -256,6 +260,9 @@ struct frame
256 /* Size of the frame window in pixels. */ 260 /* Size of the frame window in pixels. */
257 int pixel_height, pixel_width; 261 int pixel_height, pixel_width;
258 262
263 /* Dots per inch of the screen the frame is on. */
264 double resx, resy;
265
259 /* These many pixels are the difference between the outer window (i.e. the 266 /* These many pixels are the difference between the outer window (i.e. the
260 left and top of the window manager decoration) and FRAME_X_WINDOW. */ 267 left and top of the window manager decoration) and FRAME_X_WINDOW. */
261 int x_pixels_diff, y_pixels_diff; 268 int x_pixels_diff, y_pixels_diff;
@@ -301,6 +308,11 @@ struct frame
301 } 308 }
302 output_data; 309 output_data;
303 310
311#ifdef USE_FONT_BACKEND
312 /* List of font-drivers available on the frame. */
313 struct font_driver_list *font_driver_list;
314#endif /* USE_FONT_BACKEND */
315
304 /* Total width of fringes reserved for drawing truncation bitmaps, 316 /* Total width of fringes reserved for drawing truncation bitmaps,
305 continuation bitmaps and alike. The width is in canonical char 317 continuation bitmaps and alike. The width is in canonical char
306 units of the frame. This must currently be the case because window 318 units of the frame. This must currently be the case because window
@@ -1051,7 +1063,9 @@ extern void x_wm_set_icon_position P_ ((struct frame *, int, int));
1051 1063
1052extern Lisp_Object x_new_font P_ ((struct frame *, char *)); 1064extern Lisp_Object x_new_font P_ ((struct frame *, char *));
1053extern Lisp_Object x_new_fontset P_ ((struct frame *, Lisp_Object)); 1065extern Lisp_Object x_new_fontset P_ ((struct frame *, Lisp_Object));
1054 1066#ifdef USE_FONT_BACKEND
1067extern Lisp_Object x_new_fontset2 P_ ((struct frame *, Lisp_Object));
1068#endif /* USE_FONT_BACKEND */
1055 1069
1056/* These are in frame.c */ 1070/* These are in frame.c */
1057 1071