# NOTE: Derived from ../blib/lib/Tk/Scale.pm.
# Changes made here will be lost when autosplit is run again.
#line 138 "../blib/lib/Tk/Scale.pm (autosplit into ../blib/lib/auto/Tk/Scale/ButtonDown.al)"
# This procedure is invoked when a button is pressed in a scale. It
# takes different actions depending on where the button was pressed.
# x, y - Mouse coordinates of button press.
$el = $w->identify($x,$y);
$w->Increment('up','little','initial')
$w->Increment('down','little','initial')
my @coords = $w->coords();
$Tk::deltaX = $x-$coords[0];
$Tk::deltaY = $y-$coords[1];
# end of Tk::Scale::ButtonDown