Thu Oct 7 16:39:48 PDT 1999 Michael Jennings <mej@eterm.org>

raster pointed out that the "clicked" image for the scrollbar anchor
	wasn't working.  It is now. :-)


SVN revision: 707
eterm-0.10
Michael Jennings 24 years ago
parent 83146208c7
commit fb94fcd0b6
  1. 6
      ChangeLog
  2. 8
      src/scrollbar.c

@ -2543,3 +2543,9 @@ Thu Oct 7 16:12:38 PDT 1999 Michael Jennings <mej@eterm.org>
let me know and I'll add a parameter for those too.
-------------------------------------------------------------------------------
Thu Oct 7 16:39:48 PDT 1999 Michael Jennings <mej@eterm.org>
raster pointed out that the "clicked" image for the scrollbar anchor
wasn't working. It is now. :-)
-------------------------------------------------------------------------------

@ -436,13 +436,13 @@ sb_handle_button_press(event_t * ev)
scrollbar_setDn();
}
} else {
if (scrollbar_anchor_is_pixmapped() && images[image_sa].current != images[image_sa].clicked) {
images[image_sa].current = images[image_sa].clicked;
render_simage(images[image_sa].current, scrollbar_get_anchor_win(), scrollbar_anchor_width(), scrollbar_anchor_height(), image_sa, 0);
}
switch (ev->xbutton.button) {
case Button2:
button_state.mouse_offset = scrollbar_anchor_height() / 2; /* Align to center */
if (scrollbar_anchor_is_pixmapped() && images[image_sa].current != images[image_sa].clicked) {
images[image_sa].current = images[image_sa].clicked;
render_simage(images[image_sa].current, scrollbar_get_anchor_win(), scrollbar_anchor_width(), scrollbar_anchor_height(), image_sa, 0);
}
if (scrollbar_is_above_anchor(ev->xany.window, ev->xbutton.y)
|| scrollbar_is_below_anchor(ev->xany.window, ev->xbutton.y)
|| scrollBar.type == SCROLLBAR_XTERM) {

Loading…
Cancel
Save