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

Diff of /emacs/src/xterm.h

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

revision 1.142 by kfstorm, Wed Mar 12 12:12:25 2003 UTC revision 1.143 by kfstorm, Sun Mar 16 20:47:08 2003 UTC
# Line 104  typedef GtkWidget *xt_or_gtk_widget; Line 104  typedef GtkWidget *xt_or_gtk_widget;
104  #define FONT_WIDTH(f)   ((f)->max_bounds.width)  #define FONT_WIDTH(f)   ((f)->max_bounds.width)
105  #define FONT_HEIGHT(f)  ((f)->ascent + (f)->descent)  #define FONT_HEIGHT(f)  ((f)->ascent + (f)->descent)
106  #define FONT_BASE(f)    ((f)->ascent)  #define FONT_BASE(f)    ((f)->ascent)
107    #define FONT_DESCENT(f) ((f)->descent)
108    
109  /* The mask of events that text windows always want to receive.  This  /* The mask of events that text windows always want to receive.  This
110     includes mouse movement events, since handling the mouse-font text property     includes mouse movement events, since handling the mouse-font text property
# Line 667  enum Line 668  enum
668  };  };
669    
670    
671    /* Return the X output data for frame F.  */
672    #define FRAME_X_OUTPUT(f) ((f)->output_data.x)
673    
674  /* Return the X window used for displaying data in frame F.  */  /* Return the X window used for displaying data in frame F.  */
675  #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc)  #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc)
676    
# Line 703  enum Line 707  enum
707  /* Width of the default font of frame F.  Must be defined by each  /* Width of the default font of frame F.  Must be defined by each
708     terminal specific header.  */     terminal specific header.  */
709  #define FRAME_DEFAULT_FONT_WIDTH(F)     FONT_WIDTH (FRAME_FONT (F))  #define FRAME_DEFAULT_FONT_WIDTH(F)     FONT_WIDTH (FRAME_FONT (F))
710    #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.x->baseline_offset)
711    
712  /* This gives the x_display_info structure for the display F is on.  */  /* This gives the x_display_info structure for the display F is on.  */
713  #define FRAME_X_DISPLAY_INFO(f) ((f)->output_data.x->display_info)  #define FRAME_X_DISPLAY_INFO(f) ((f)->output_data.x->display_info)
# Line 1165  extern int x_session_check_input P_ ((st Line 1170  extern int x_session_check_input P_ ((st
1170                                        int *numchars));                                        int *numchars));
1171  extern int x_session_have_connection P_ ((void));  extern int x_session_have_connection P_ ((void));
1172  #endif  #endif
1173    
1174    #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0
1175    #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0
1176    
1177    #define STORE_XCHAR2B(chp, b1, b2) \
1178      ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
1179    
1180    #define XCHAR2B_BYTE1(chp) \
1181      ((chp)->byte1)
1182    
1183    #define XCHAR2B_BYTE2(chp) \
1184      ((chp)->byte2)
1185    

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.143

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