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

Diff of /emacs/src/w32term.h

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

revision 1.52 by lektu, Thu Mar 6 12:56:56 2003 UTC revision 1.53 by kfstorm, Sun Mar 16 20:48:21 2003 UTC
# Line 441  enum Line 441  enum
441    FULLSCREEN_MOVE_WAIT  = 8,    FULLSCREEN_MOVE_WAIT  = 8,
442  };  };
443    
444    /* Return the X output data for frame F.  */
445    #define FRAME_X_OUTPUT(f) ((f)->output_data.w32)
446    
447  /* Return the window associated with the frame F.  */  /* Return the window associated with the frame F.  */
448  #define FRAME_W32_WINDOW(f) ((f)->output_data.w32->window_desc)  #define FRAME_W32_WINDOW(f) ((f)->output_data.w32->window_desc)
449    #define FRAME_X_WINDOW(f) ((f)->output_data.w32->window_desc)
450    
451  #define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel)  #define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel)
452  #define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel)  #define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel)
# Line 459  enum Line 463  enum
463  #define FRAME_W32_DISPLAY_INFO(f) (&one_w32_display_info)  #define FRAME_W32_DISPLAY_INFO(f) (&one_w32_display_info)
464  #define FRAME_X_DISPLAY_INFO(f) (&one_w32_display_info)  #define FRAME_X_DISPLAY_INFO(f) (&one_w32_display_info)
465    
466    /* This is the `Display *' which frame F is on.  */
467    #define FRAME_X_DISPLAY(f) (0)
468    
469  /* This is the 'font_info *' which frame F has.  */  /* This is the 'font_info *' which frame F has.  */
470  #define FRAME_W32_FONT_TABLE(f) (FRAME_W32_DISPLAY_INFO (f)->font_table)  #define FRAME_W32_FONT_TABLE(f) (FRAME_W32_DISPLAY_INFO (f)->font_table)
471    
# Line 851  struct frame * check_x_frame (Lisp_Objec Line 858  struct frame * check_x_frame (Lisp_Objec
858  EXFUN (Fx_display_color_p, 1);  EXFUN (Fx_display_color_p, 1);
859  EXFUN (Fx_display_grayscale_p, 1);  EXFUN (Fx_display_grayscale_p, 1);
860  int image_ascent P_ ((struct image *, struct face *));  int image_ascent P_ ((struct image *, struct face *));
861    
862    #define FONT_TYPE_FOR_UNIBYTE(font, ch)                 \
863      ((font)->bdf ? BDF_1D_FONT : ANSI_FONT)
864    
865    #define FONT_TYPE_FOR_MULTIBYTE(font, ch)               \
866      (!(font)->bdf                                         \
867       ? UNICODE_FONT                                       \
868       : ((CHARSET_DIMENSION (CHAR_CHARSET ((ch))) == 1)    \
869          ? BDF_1D_FONT : BDF_2D_FONT))

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

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