comparison src/frame.h @ 91170:f659645b3f44

(font_driver_list): Declare it unconditionally. (struct frame): Define members font_driver_list and font_data_list unconditionally.
author Kenichi Handa <handa@m17n.org>
date Mon, 03 Dec 2007 13:52:35 +0000
parents 1b739acb7b7c
children 606f2d163a64
comparison
equal deleted inserted replaced
91169:8eb408860621 91170:f659645b3f44
75 #define FRAME_FOREGROUND_PIXEL(f) ((f)->foreground_pixel) 75 #define FRAME_FOREGROUND_PIXEL(f) ((f)->foreground_pixel)
76 #define FRAME_BACKGROUND_PIXEL(f) ((f)->background_pixel) 76 #define FRAME_BACKGROUND_PIXEL(f) ((f)->background_pixel)
77 77
78 struct terminal; 78 struct terminal;
79 79
80 #ifdef USE_FONT_BACKEND
81 struct font_driver_list; 80 struct font_driver_list;
82 #endif /* USE_FONT_BACKEND */
83 81
84 struct frame 82 struct frame
85 { 83 {
86 EMACS_UINT size; 84 EMACS_UINT size;
87 struct Lisp_Vector *next; 85 struct Lisp_Vector *next;
322 struct mac_output *mac; /* macterm.h */ 320 struct mac_output *mac; /* macterm.h */
323 EMACS_INT nothing; 321 EMACS_INT nothing;
324 } 322 }
325 output_data; 323 output_data;
326 324
327 #ifdef USE_FONT_BACKEND
328 /* List of font-drivers available on the frame. */ 325 /* List of font-drivers available on the frame. */
329 struct font_driver_list *font_driver_list; 326 struct font_driver_list *font_driver_list;
330 /* List of data specific to font-driver and frame, but common to 327 /* List of data specific to font-driver and frame, but common to
331 faces. */ 328 faces. */
332 struct font_data_list *font_data_list; 329 struct font_data_list *font_data_list;
333 #endif /* USE_FONT_BACKEND */
334 330
335 /* Total width of fringes reserved for drawing truncation bitmaps, 331 /* Total width of fringes reserved for drawing truncation bitmaps,
336 continuation bitmaps and alike. The width is in canonical char 332 continuation bitmaps and alike. The width is in canonical char
337 units of the frame. This must currently be the case because window 333 units of the frame. This must currently be the case because window
338 sizes aren't pixel values. If it weren't the case, we wouldn't be 334 sizes aren't pixel values. If it weren't the case, we wouldn't be