diff options
author | etienne | 2007-01-22 10:20:57 +0000 |
---|---|---|
committer | etienne | 2007-01-22 10:20:57 +0000 |
commit | 86ce7579def30de62827e809192efb41ca6d6a4f (patch) | |
tree | abce06f3f93993f3d7e1bfb2260ddf38db6da44c /src | |
parent | 911d1219911674cfd07346cb6daa8c131f88fcc4 (diff) | |
download | ivycontrolpanel-86ce7579def30de62827e809192efb41ca6d6a4f.zip ivycontrolpanel-86ce7579def30de62827e809192efb41ca6d6a4f.tar.gz ivycontrolpanel-86ce7579def30de62827e809192efb41ca6d6a4f.tar.bz2 ivycontrolpanel-86ce7579def30de62827e809192efb41ca6d6a4f.tar.xz |
Ajout d'un bouton pour passer le panneau en arrière-plan.
Diffstat (limited to 'src')
-rwxr-xr-x | src/ivycontrolpanel | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ivycontrolpanel b/src/ivycontrolpanel index 0bbc4d4..e8f1b47 100755 --- a/src/ivycontrolpanel +++ b/src/ivycontrolpanel @@ -363,6 +363,21 @@ $pausebtn->configure(-command => \&pause); IvyIO::bind_for_play_event(\&display_play); IvyIO::bind_for_pause_event(\&display_pause); +# Lower button +#--------------------------------------------------------------------------------- + +my $lowerbmp = $mw->Bitmap('lower', -file => Tk::findINC('lower.bmp'), + -background => $bg, + -foreground => $hlbg); + +$x = $width - $dxright/2 - $fm_w - 90*$coef; + +my $button_lower = $fm1->Button( + @buttonattr, + -image => $lowerbmp, + )->place(-x => $x, -y => $y ); + +$button_lower->configure( -command => sub { $mw->lower();}); # Quit button #--------------------------------------------------------------------------------- |