comparison src/pixbuf-renderer.c @ 1047:81ec7d977d5f

use SHIFT for connected scroll and zoom SHIFT + keys or mouse: affects all split windows keys or mouse: affects only active window CONTROL + mouse: moves fast (originally it was SHIFT + mouse)
author nadvornik
date Wed, 10 Sep 2008 20:37:30 +0000
parents 0ab0deb0cfcc
children 1646720364cf
comparison
equal deleted inserted replaced
1046:e34e9bdef276 1047:81ec7d977d5f
3664 else 3664 else
3665 { 3665 {
3666 widget_set_cursor(widget, GDK_FLEUR); 3666 widget_set_cursor(widget, GDK_FLEUR);
3667 } 3667 }
3668 3668
3669 if (bevent->state & GDK_SHIFT_MASK) 3669 if (bevent->state & GDK_CONTROL_MASK)
3670 { 3670 {
3671 accel = PR_PAN_SHIFT_MULTIPLIER; 3671 accel = PR_PAN_SHIFT_MULTIPLIER;
3672 } 3672 }
3673 else 3673 else
3674 { 3674 {
3746 widget_set_cursor(widget, -1); 3746 widget_set_cursor(widget, -1);
3747 } 3747 }
3748 3748
3749 if (pr->drag_moved < PR_DRAG_SCROLL_THRESHHOLD) 3749 if (pr->drag_moved < PR_DRAG_SCROLL_THRESHHOLD)
3750 { 3750 {
3751 if (bevent->button == MOUSE_BUTTON_LEFT && (bevent->state & GDK_SHIFT_MASK)) 3751 if (bevent->button == MOUSE_BUTTON_LEFT && (bevent->state & GDK_CONTROL_MASK))
3752 { 3752 {
3753 pr_scroller_start(pr, bevent->x, bevent->y); 3753 pr_scroller_start(pr, bevent->x, bevent->y);
3754 } 3754 }
3755 else if (bevent->button == MOUSE_BUTTON_LEFT || bevent->button == MOUSE_BUTTON_MIDDLE) 3755 else if (bevent->button == MOUSE_BUTTON_LEFT || bevent->button == MOUSE_BUTTON_MIDDLE)
3756 { 3756 {