diff options
| author | Gerd Moellmann | 2001-01-31 20:24:36 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-31 20:24:36 +0000 |
| commit | 7d81cf83bddec31aecd0f50e53f45f72525b2892 (patch) | |
| tree | cdf44926033b96afd43543dbb0abd3e0302d955a /src | |
| parent | d61c7afe567645d4f97306e052382fcca28173b2 (diff) | |
| download | emacs-7d81cf83bddec31aecd0f50e53f45f72525b2892.tar.gz emacs-7d81cf83bddec31aecd0f50e53f45f72525b2892.zip | |
(FRAME_RIGHT_SCROLL_BAR_WIDTH): New define.
Diffstat (limited to 'src')
| -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; | |||
| 516 | #define FRAME_SCROLL_BAR_COLS(f) ((f)->scroll_bar_cols) | 516 | #define FRAME_SCROLL_BAR_COLS(f) ((f)->scroll_bar_cols) |
| 517 | 517 | ||
| 518 | /* Width of a scroll bar in frame F, measured in columns (characters), | 518 | /* Width of a scroll bar in frame F, measured in columns (characters), |
| 519 | but only if scroll bars are on the left. | 519 | but only if scroll bars are on the left. If scroll bars are on |
| 520 | If scroll bars are on the right in this frame, it is 0. */ | 520 | the right in this frame, or there are no scroll bars, value is 0. */ |
| 521 | #define FRAME_LEFT_SCROLL_BAR_WIDTH(f) \ | 521 | |
| 522 | (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ | 522 | #define FRAME_LEFT_SCROLL_BAR_WIDTH(f) \ |
| 523 | ? FRAME_SCROLL_BAR_COLS (f) \ | 523 | (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ |
| 524 | ? FRAME_SCROLL_BAR_COLS (f) \ | ||
| 525 | : 0) | ||
| 526 | |||
| 527 | /* Width of a scroll bar in frame F, measured in columns (characters), | ||
| 528 | but only if scroll bars are on the right. If scroll bars are on | ||
| 529 | the left in this frame, or there are no scroll bars, value is 0. */ | ||
| 530 | |||
| 531 | #define FRAME_RIGHT_SCROLL_BAR_WIDTH(f) \ | ||
| 532 | (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) \ | ||
| 533 | ? FRAME_SCROLL_BAR_COLS (f) \ | ||
| 524 | : 0) | 534 | : 0) |
| 525 | 535 | ||
| 526 | /* Width of a scroll bar in frame F, measured in columns (characters). */ | 536 | /* Width of a scroll bar in frame F, measured in columns (characters). */ |