diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-01 23:29:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-01 23:29:11 +0000 |
commit | da1a001044f9e87559e32a4ad7a0d5f44d72810c (patch) | |
tree | bf2f21508e4220dff99189e03845c5b73e2f9da9 /Master/tlpkg/tlperl.old/lib/auto/Tk/Scrollbar/EndDrag.al | |
parent | 550c8d37fab593519a4984e62b0a8aaaf405c9a8 (diff) |
looks like we are going with new perl
git-svn-id: svn://tug.org/texlive/trunk@18687 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl.old/lib/auto/Tk/Scrollbar/EndDrag.al')
-rw-r--r-- | Master/tlpkg/tlperl.old/lib/auto/Tk/Scrollbar/EndDrag.al | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Master/tlpkg/tlperl.old/lib/auto/Tk/Scrollbar/EndDrag.al b/Master/tlpkg/tlperl.old/lib/auto/Tk/Scrollbar/EndDrag.al deleted file mode 100644 index 8c401b6fc31..00000000000 --- a/Master/tlpkg/tlperl.old/lib/auto/Tk/Scrollbar/EndDrag.al +++ /dev/null @@ -1,28 +0,0 @@ -# NOTE: Derived from ..\blib\lib\Tk\Scrollbar.pm. -# Changes made here will be lost when autosplit is run again. -# See AutoSplit.pm. -package Tk::Scrollbar; - -#line 297 "..\blib\lib\Tk\Scrollbar.pm (autosplit into ..\blib\lib\auto\Tk\Scrollbar\EndDrag.al)" -# tkScrollEndDrag -- -# This procedure is called to end an interactive drag of the slider. -# It scrolls the window if we're in jump mode, otherwise it does nothing. -# -# Arguments: -# w - The scrollbar widget. -# x, y - The mouse position at the end of the drag operation. - -sub EndDrag -{ - my($w,$x,$y) = @_; - return if (!defined $initPos); - if ($w->cget('-jump')) - { - my $delta = $w->delta($x-$pressX, $y-$pressY); - $w->ScrlToPos($initPos+$delta); - } - undef $initPos; -} - -# end of Tk::Scrollbar::EndDrag -1; |