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

Diff of /emacs/src/window.h

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

revision 1.50 by rms, Mon Jul 1 07:59:16 2002 UTC revision 1.51 by lektu, Tue Feb 4 14:03:17 2003 UTC
# Line 212  struct window Line 212  struct window
212      /* Original window height and top before mini-window was      /* Original window height and top before mini-window was
213         enlarged. */         enlarged. */
214      Lisp_Object orig_height, orig_top;      Lisp_Object orig_height, orig_top;
215        
216      /* No Lisp data may follow below this point without changing      /* No Lisp data may follow below this point without changing
217         mark_object in alloc.c.  The member current_matrix must be the         mark_object in alloc.c.  The member current_matrix must be the
218         first non-Lisp member.  */         first non-Lisp member.  */
# Line 228  struct window Line 228  struct window
228      /* Intended cursor position.   This is a position within the      /* Intended cursor position.   This is a position within the
229         glyph matrix.  */         glyph matrix.  */
230      struct cursor_pos cursor;      struct cursor_pos cursor;
231        
232      /* Where the cursor actually is.  */      /* Where the cursor actually is.  */
233      struct cursor_pos phys_cursor;      struct cursor_pos phys_cursor;
234        
235      /* Cursor type and width of last cursor drawn on the window.        /* Cursor type and width of last cursor drawn on the window.
236         Used for X and w32 frames; -1 initially.  */         Used for X and w32 frames; -1 initially.  */
237      int phys_cursor_type, phys_cursor_width;      int phys_cursor_type, phys_cursor_width;
238    
239      /* This is handy for undrawing the cursor.  */      /* This is handy for undrawing the cursor.  */
240      int phys_cursor_ascent, phys_cursor_height;      int phys_cursor_ascent, phys_cursor_height;
241        
242      /* Non-zero means the cursor is currently displayed.  This can be      /* Non-zero means the cursor is currently displayed.  This can be
243         set to zero by functions overpainting the cursor image.  */         set to zero by functions overpainting the cursor image.  */
244      unsigned phys_cursor_on_p : 1;      unsigned phys_cursor_on_p : 1;
# Line 261  struct window Line 261  struct window
261      /* Amount by which lines of this window are scrolled in      /* Amount by which lines of this window are scrolled in
262         y-direction (smooth scrolling).  */         y-direction (smooth scrolling).  */
263      int vscroll;      int vscroll;
264        
265      /* Z_BYTE - the buffer position of the last glyph in the current matrix      /* Z_BYTE - the buffer position of the last glyph in the current matrix
266         of W.  Only valid if WINDOW_END_VALID is not nil.  */         of W.  Only valid if WINDOW_END_VALID is not nil.  */
267      int window_end_bytepos;      int window_end_bytepos;
# Line 284  struct window Line 284  struct window
284  /* Return the window column at which the text in window W starts.  /* Return the window column at which the text in window W starts.
285     This is different from the `left' field because it does not include     This is different from the `left' field because it does not include
286     a left-hand scroll bar if any.  */     a left-hand scroll bar if any.  */
287      
288  #define WINDOW_LEFT_MARGIN(W) \  #define WINDOW_LEFT_MARGIN(W) \
289       (XFASTINT ((W)->left) \       (XFASTINT ((W)->left) \
290        + FRAME_LEFT_SCROLL_BAR_WIDTH (XFRAME (WINDOW_FRAME (W))))        + FRAME_LEFT_SCROLL_BAR_WIDTH (XFRAME (WINDOW_FRAME (W))))
# Line 305  struct window Line 305  struct window
305           ? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \           ? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \
306           : 0))           : 0))
307    
308  /* 1 if window W takes up the full width of its frame.  */  /* 1 if window W takes up the full width of its frame.  */
309    
310  #define WINDOW_FULL_WIDTH_P(W) \  #define WINDOW_FULL_WIDTH_P(W) \
311       (XFASTINT ((W)->width) == FRAME_WINDOW_WIDTH (XFRAME (WINDOW_FRAME (W))))       (XFASTINT ((W)->width) == FRAME_WINDOW_WIDTH (XFRAME (WINDOW_FRAME (W))))
312    
313  /* 1 if window W's has no other windows to its right in its frame.  */  /* 1 if window W's has no other windows to its right in its frame.  */
314    
315  #define WINDOW_RIGHTMOST_P(W) \  #define WINDOW_RIGHTMOST_P(W) \
316       (WINDOW_RIGHT_EDGE (W) == FRAME_WINDOW_WIDTH (XFRAME (WINDOW_FRAME (W))))       (WINDOW_RIGHT_EDGE (W) == FRAME_WINDOW_WIDTH (XFRAME (WINDOW_FRAME (W))))
317        
318    
319  /* This is the window in which the terminal's cursor should  /* This is the window in which the terminal's cursor should
320     be left when nothing is being done with it.  This must     be left when nothing is being done with it.  This must

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

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