# HG changeset patch # User Gerd Moellmann # Date 980972676 0 # Node ID 48534cd0de4343d7e33b4256b54902409857d3d1 # Parent c6c152eee9a8370e987d364731da979e40245ffa (FRAME_RIGHT_SCROLL_BAR_WIDTH): New define. diff -r c6c152eee9a8 -r 48534cd0de43 src/frame.h --- a/src/frame.h Wed Jan 31 20:03:46 2001 +0000 +++ b/src/frame.h Wed Jan 31 20:24:36 2001 +0000 @@ -516,11 +516,21 @@ #define FRAME_SCROLL_BAR_COLS(f) ((f)->scroll_bar_cols) /* Width of a scroll bar in frame F, measured in columns (characters), - but only if scroll bars are on the left. - If scroll bars are on the right in this frame, it is 0. */ -#define FRAME_LEFT_SCROLL_BAR_WIDTH(f) \ - (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ - ? FRAME_SCROLL_BAR_COLS (f) \ + but only if scroll bars are on the left. If scroll bars are on + the right in this frame, or there are no scroll bars, value is 0. */ + +#define FRAME_LEFT_SCROLL_BAR_WIDTH(f) \ + (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ + ? FRAME_SCROLL_BAR_COLS (f) \ + : 0) + +/* Width of a scroll bar in frame F, measured in columns (characters), + but only if scroll bars are on the right. If scroll bars are on + the left in this frame, or there are no scroll bars, value is 0. */ + +#define FRAME_RIGHT_SCROLL_BAR_WIDTH(f) \ + (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) \ + ? FRAME_SCROLL_BAR_COLS (f) \ : 0) /* Width of a scroll bar in frame F, measured in columns (characters). */