diff options
-rwxr-xr-x | perl-install/standalone/mousedrake | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |