/[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.135 by rms, Tue Aug 27 18:41:51 2002 UTC revision 1.136 by kfstorm, Fri Aug 30 12:05:31 2002 UTC
# Line 107  Boston, MA 02111-1307, USA.  */ Line 107  Boston, MA 02111-1307, USA.  */
107     | EnterWindowMask            \     | EnterWindowMask            \
108     | VisibilityChangeMask)     | VisibilityChangeMask)
109    
 enum text_cursor_kinds  
 {  
   NO_CURSOR = -1,  
   FILLED_BOX_CURSOR,  
   HOLLOW_BOX_CURSOR,  
   BAR_CURSOR,  
   HBAR_CURSOR  
 };  
   
110  /* Structure recording X pixmap and reference count.  /* Structure recording X pixmap and reference count.
111     If REFCOUNT is 0 then this record is free to be reused.  */     If REFCOUNT is 0 then this record is free to be reused.  */
112    
# Line 510  struct x_output Line 501  struct x_output
501    /* Flag to set when the X window needs to be completely repainted.  */    /* Flag to set when the X window needs to be completely repainted.  */
502    int needs_exposure;    int needs_exposure;
503    
   /* What kind of text cursor is drawn in this window right now?  
      (If there is no cursor (phys_cursor_x < 0), then this means nothing.)  */  
   enum text_cursor_kinds current_cursor;  
   
   /* What kind of text cursor should we draw in the future?  
      This should always be filled_box_cursor or bar_cursor.  */  
   enum text_cursor_kinds desired_cursor;  
   
   /* Width of bar cursor (if we are using that).  */  
   int cursor_width;  
   
   /* What kind of text cursor should we draw when the cursor blinks off?  
      This can be filled_box_cursor or bar_cursor or no_cursor.  */  
   enum text_cursor_kinds blink_off_cursor;  
   
   /* Width of bar cursor (if we are using that) for blink-off state.  */  
   int blink_off_cursor_width;  
   
504    /* These are the current window manager hints.  It seems that    /* These are the current window manager hints.  It seems that
505       XSetWMHints, when presented with an unset bit in the `flags'       XSetWMHints, when presented with an unset bit in the `flags'
506       member of the hints structure, does not leave the corresponding       member of the hints structure, does not leave the corresponding
# Line 701  enum Line 674  enum
674  #define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width)  #define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width)
675  #define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height)  #define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height)
676    
 #define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor)  
 #define FRAME_BLINK_OFF_CURSOR(f) ((f)->output_data.x->blink_off_cursor)  
 #define FRAME_CURSOR_WIDTH(f) ((f)->output_data.x->cursor_width)  
 #define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->output_data.x->blink_off_cursor_width)  
   
677  #define FRAME_XIC(f) ((f)->output_data.x->xic)  #define FRAME_XIC(f) ((f)->output_data.x->xic)
678  #define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim)  #define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim)
679  #define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles)  #define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles)
# Line 1101  extern int x_char_width P_ ((struct fram Line 1069  extern int x_char_width P_ ((struct fram
1069  extern int x_char_height P_ ((struct frame *));  extern int x_char_height P_ ((struct frame *));
1070  extern int x_screen_planes P_ ((struct frame *));  extern int x_screen_planes P_ ((struct frame *));
1071  extern void x_sync P_ ((struct frame *));  extern void x_sync P_ ((struct frame *));
 extern enum text_cursor_kinds x_specified_cursor_type P_ ((Lisp_Object, int *));  
1072  extern int x_defined_color P_ ((struct frame *, char *, XColor *, int));  extern int x_defined_color P_ ((struct frame *, char *, XColor *, int));
1073  #ifdef HAVE_X_I18N  #ifdef HAVE_X_I18N
1074  extern void free_frame_xic P_ ((struct frame *));  extern void free_frame_xic P_ ((struct frame *));

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136

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