diff options
author | ribet | 2007-06-13 18:53:03 +0000 |
---|---|---|
committer | ribet | 2007-06-13 18:53:03 +0000 |
commit | 80211308e4a34e5c29349725b2a4b14656d72f75 (patch) | |
tree | 081dadfe16563c08e8967357d7ccefbe3e9ac4c2 /doc/exemple_opacite.pl | |
parent | c0dbd65a0c3e0b66d69b8fcc827f8380a7b35767 (diff) | |
download | mtc-80211308e4a34e5c29349725b2a4b14656d72f75.zip mtc-80211308e4a34e5c29349725b2a4b14656d72f75.tar.gz mtc-80211308e4a34e5c29349725b2a4b14656d72f75.tar.bz2 mtc-80211308e4a34e5c29349725b2a4b14656d72f75.tar.xz |
Adding 'use strict;'
Diffstat (limited to 'doc/exemple_opacite.pl')
-rwxr-xr-x | doc/exemple_opacite.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/exemple_opacite.pl b/doc/exemple_opacite.pl index f52da49..216c10b 100755 --- a/doc/exemple_opacite.pl +++ b/doc/exemple_opacite.pl @@ -19,6 +19,8 @@ BEGIN { unshift @INC, ".", "../src"; } +use strict; + use MTools; use MTools::GUI::MRect; use MTools::GUI::MGroup; @@ -26,8 +28,7 @@ use MTools::Anim::MOpacity; new MTools (800, 600, "Exemple de animation opacity"); -new MTools::GUI::MRect (1, 400, 200, 100, 300, -filled => 1, -fillcolor => red -); +new MTools::GUI::MRect (1, 400, 200, 100, 300, -filled => 1, -fillcolor => "red"); my $group = new MTools::GUI::MGroup (1); new MTools::GUI::MRect ($group, 300, 300, 300, 100, -filled => 1); |