summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-21 04:18:58 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-21 04:18:58 +0000
commit44406ef15cd5ba1b7adf4fb951318e0c1ce1438a (patch)
treefb6760c8758f972d2df0dd0bf371c9a029eae85b
parentadbe698d72e7a6f05124d176bff68ee73eea2920 (diff)
downloademacs-44406ef15cd5ba1b7adf4fb951318e0c1ce1438a.tar.gz
(VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from
LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM. (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
-rw-r--r--src/xterm.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/xterm.h b/src/xterm.h
index ca5fc9e88c6..ea649552521 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -606,9 +606,7 @@ struct scroll_bar {
((width) \
- VERTICAL_SCROLL_BAR_LEFT_BORDER \
- VERTICAL_SCROLL_BAR_RIGHT_BORDER \
- - (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \
- ? LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM \
- : 0))
+ - VERTICAL_SCROLL_BAR_WIDTH_TRIM * 2)
/* Return the length of the rectangle within which the top of the
handle must stay. This isn't equivalent to the inside height,
@@ -645,9 +643,9 @@ struct scroll_bar {
/* Minimum lengths for scroll bar handles, in pixels. */
#define VERTICAL_SCROLL_BAR_MIN_HANDLE (5)
-/* For a left-side scroll bar, trimming off a few pixels prevents
+/* Trimming off a few pixels from each side prevents
text from glomming up against the scroll bar */
-#define LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM (2)
+#define VERTICAL_SCROLL_BAR_WIDTH_TRIM (2)
/* Manipulating pixel sizes and character sizes.