… | |
… | |
68 | |
68 | |
69 | #define R_SCROLLBEG_XTERM 0 |
69 | #define R_SCROLLBEG_XTERM 0 |
70 | #define R_SCROLLEND_XTERM szHint.height |
70 | #define R_SCROLLEND_XTERM szHint.height |
71 | #define R_SCROLLBEG_NEXT 0 |
71 | #define R_SCROLLBEG_NEXT 0 |
72 | #define R_SCROLLEND_NEXT szHint.height - (SB_BUTTON_TOTAL_HEIGHT + \ |
72 | #define R_SCROLLEND_NEXT szHint.height - (SB_BUTTON_TOTAL_HEIGHT + \ |
73 | SB_PADDING) |
73 | SB_PADDING) |
74 | #define R_SCROLLBEG_RXVT (scrollBar.width + 1) + sb_shadow |
74 | #define R_SCROLLBEG_RXVT (scrollBar.width + 1) + sb_shadow |
75 | #define R_SCROLLEND_RXVT szHint.height - R_SCROLLBEG_RXVT - \ |
75 | #define R_SCROLLEND_RXVT szHint.height - R_SCROLLBEG_RXVT - \ |
76 | (2 * sb_shadow) |
76 | (2 * sb_shadow) |
77 | |
77 | |
78 | #if defined(PLAIN_SCROLLBAR) |
78 | #if defined(PLAIN_SCROLLBAR) |
79 | if (scrollBar.style == R_SB_PLAIN) |
79 | if (scrollBar.style == R_SB_PLAIN) |
80 | { |
80 | { |
81 | scrollBar.beg = R_SCROLLBEG_XTERM; |
81 | scrollBar.beg = R_SCROLLBEG_XTERM; |