switch (ev.button)
{
case Button2:
- switch (scrollbar_align)
+ switch (scrollBar.align)
{
case R_SB_ALIGN_TOP:
csrO = 0;
break;
case Button1:
- if (scrollbar_align == R_SB_ALIGN_CENTRE)
+ if (scrollBar.align == R_SB_ALIGN_CENTRE)
csrO = ev.y - scrollBar.top;
/* FALLTHROUGH */
#ifdef META8_OPTION
meta_char, /* Alt-key prefix */
#endif
- scrollbar_align,
selection_wait,
selection_type;
/* ---------- */
scrollBar.style = style;
scrollBar.width = width;
- /* scrollbar_align = R_SB_ALIGN_CENTRE; */
+ /* scrollBar.align = R_SB_ALIGN_CENTRE; */
if (scrollalign)
{
if (strncasecmp (scrollalign, "top", 3) == 0)
- scrollbar_align = R_SB_ALIGN_TOP;
+ scrollBar.align = R_SB_ALIGN_TOP;
else if (strncasecmp (scrollalign, "bottom", 6) == 0)
- scrollbar_align = R_SB_ALIGN_BOTTOM;
+ scrollBar.align = R_SB_ALIGN_BOTTOM;
}
#endif
}
unsigned int style; /* style: rxvt, xterm, next */
unsigned int width; /* scrollbar width */
int shadow; /* scrollbar shadow width */
+ unsigned char align;
Window win;
int (rxvt_term::*update)(int, int, int, int);