diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-01-31 20:24:36 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-01-31 20:24:36 +0000 |
commit | 7d81cf83bddec31aecd0f50e53f45f72525b2892 (patch) | |
tree | cdf44926033b96afd43543dbb0abd3e0302d955a /src/frame.h | |
parent | d61c7afe567645d4f97306e052382fcca28173b2 (diff) | |
download | emacs-7d81cf83bddec31aecd0f50e53f45f72525b2892.tar.gz |
(FRAME_RIGHT_SCROLL_BAR_WIDTH): New define.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/frame.h b/src/frame.h index 5db5ebd3019..fe836903e9c 100644 --- a/src/frame.h +++ b/src/frame.h @@ -516,11 +516,21 @@ typedef struct frame *FRAME_PTR; #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). */ |