From: Kim F. Storm Date: Sat, 1 Dec 2001 01:14:09 +0000 (+0000) Subject: (struct frame): Remove trunc_area_pixel_width and trunc_area_cols fields. X-Git-Tag: ttn-vms-21-2-B4~17996 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8432bb78a14e459397f1d8402b3cbcecf6ce9b65;p=emacs.git (struct frame): Remove trunc_area_pixel_width and trunc_area_cols fields. (Qleft_fringe, Qright_fringe): Declare. (FRAME_RIGHT_FRINGE_WIDTH): New macro. --- diff --git a/src/frame.h b/src/frame.h index db9b8fca689..4d40ad9c865 100644 --- a/src/frame.h +++ b/src/frame.h @@ -354,9 +354,6 @@ struct frame int scroll_bar_pixel_width; int scroll_bar_cols; - /* Width of area for drawing truncation marks and overlay arrow. */ - int trunc_area_pixel_width, trunc_area_cols; - /* The baud rate that was used to calculate costs for this frame. */ int cost_calculation_baud_rate; @@ -646,6 +643,7 @@ typedef struct frame *FRAME_PTR; extern Lisp_Object Qframep, Qframe_live_p, Qicon; +extern Lisp_Object Qleft_fringe, Qright_fringe; extern struct frame *last_nonminibuf_frame; @@ -729,12 +727,15 @@ extern Lisp_Object selected_frame; (FRAME_WINDOW_P (F) ? FRAME_X_FRINGE_WIDTH (F) : 0) #define FRAME_LEFT_FRINGE_WIDTH(F) \ (FRAME_WINDOW_P (F) ? FRAME_X_LEFT_FRINGE_WIDTH (F) : 0) +#define FRAME_RIGHT_FRINGE_WIDTH(F) \ + (FRAME_WINDOW_P (F) ? FRAME_X_RIGHT_FRINGE_WIDTH (F) : 0) #else /* not HAVE_WINDOW_SYSTEM */ #define FRAME_FRINGE_WIDTH(F) 0 #define FRAME_FRINGE_COLS(F) 0 #define FRAME_LEFT_FRINGE_WIDTH(F) 0 +#define FRAME_RIGHT_FRINGE_WIDTH(F) 0 #endif /* not HAVE_WINDOW_SYSTEM */