changeset 35798:48534cd0de43

(FRAME_RIGHT_SCROLL_BAR_WIDTH): New define.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 31 Jan 2001 20:24:36 +0000
parents c6c152eee9a8
children 74655128ce2d
files src/frame.h
diffstat 1 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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).  */