From 61f932928afdde43a84e246130840dd882fceac1 Mon Sep 17 00:00:00 2001 From: damien Date: Fri, 24 Aug 2001 19:12:25 +0000 Subject: updated mouse test --- perl-install/standalone/mousedrake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake index de8db2a67..e8b6ba01b 100755 --- a/perl-install/standalone/mousedrake +++ b/perl-install/standalone/mousedrake @@ -185,11 +185,15 @@ sub test_mouse2 { $darea->window->draw_arc ( $darea->style->black_gc, 1, ($darea->allocation->[2]-$width)/2 + $x, ($darea->allocation->[3]-$height)/2 + 90, 20, 25, 0, 360*64); - } else { + } elsif ($nb == 3) { $darea->window->draw_pixmap ($darea->style->bg_gc('normal'), $m3_middle, 0, 0, ($darea->allocation->[2]-$width)/2+81, ($darea->allocation->[3]-$height)/2 + 49, 45, 96); + } elsif ($nb == 4) { + print "button 4\n"; + } elsif ($nb == 5) { + print "button 5\n"; } }; # my $draw_text = sub { -- cgit v1.2.1