line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ############################################################################## |
2
|
|
|
|
|
|
|
# # Script : Tkx::TclTk::Bind::ImageLibrary.pm # |
3
|
|
|
|
|
|
|
# # -------------------------------------------------------------------------- # |
4
|
|
|
|
|
|
|
# # Copyright : Frei unter GNU General Public License bzw. Artistic License # |
5
|
|
|
|
|
|
|
# # Authors : JVBSOFT - Jürgen von Brietzke 0.001 - 1.300 # |
6
|
|
|
|
|
|
|
# # Version : 1.300 21.Dez.2015 # |
7
|
|
|
|
|
|
|
# # -------------------------------------------------------------------------- # |
8
|
|
|
|
|
|
|
# # Function : Bindet die TclTk 'Img1.4.0.4' Bibliothek an Perl::Tkx # |
9
|
|
|
|
|
|
|
# # -------------------------------------------------------------------------- # |
10
|
|
|
|
|
|
|
# # Language : PERL 5 (V) 5.12.xx - 5.22.xx # |
11
|
|
|
|
|
|
|
# # Coding : ISO 8859-15 / Latin-9 UNIX-Zeilenende # |
12
|
|
|
|
|
|
|
# # Standards : Perl-Best-Practices severity 1 (brutal) # |
13
|
|
|
|
|
|
|
# # -------------------------------------------------------------------------- # |
14
|
|
|
|
|
|
|
# # Module : Enc::C ActivePerl-REPO-Module # |
15
|
|
|
|
|
|
|
# # Perl::Modern::Perl # |
16
|
|
|
|
|
|
|
# # Tkx::TclTk::Bind # |
17
|
|
|
|
|
|
|
# ############################################################################## |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
package Tkx::TclTk::Bind::ImageLibrary 1.300; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# ############################################################################## |
22
|
|
|
|
|
|
|
|
23
|
1
|
|
|
1
|
|
21924
|
use Perl::Modern::Perl qw{5.12}; |
|
1
|
|
|
|
|
17840
|
|
|
1
|
|
|
|
|
6
|
|
24
|
1
|
|
|
1
|
|
1459
|
use Tkx::TclTk::Bind qw{ &load_library }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# ############################################################################## |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub BEGIN { |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
my $path_to_image_library; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
my $temp_dir = load_library( 'image', 'Img1.4.0.4' ); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# --- Steuervariablen belegen ----------------------------------------------- |
35
|
|
|
|
|
|
|
$path_to_image_library = File::Spec->catfile( $temp_dir, 'Img1.4.0.4' ); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
# --- Image-Library in Tkx binden ------------------------------------------- |
38
|
|
|
|
|
|
|
Tkx::lappend( '::auto_path', $path_to_image_library ); |
39
|
|
|
|
|
|
|
Tkx::package_require('img::bmp'); |
40
|
|
|
|
|
|
|
Tkx::package_require('img::gif'); |
41
|
|
|
|
|
|
|
Tkx::package_require('img::ico'); |
42
|
|
|
|
|
|
|
Tkx::package_require('img::jpeg'); |
43
|
|
|
|
|
|
|
Tkx::package_require('img::pcx'); |
44
|
|
|
|
|
|
|
Tkx::package_require('img::pixmap'); |
45
|
|
|
|
|
|
|
Tkx::package_require('img::png'); |
46
|
|
|
|
|
|
|
Tkx::package_require('img::ppm'); |
47
|
|
|
|
|
|
|
Tkx::package_require('img::tiff'); |
48
|
|
|
|
|
|
|
Tkx::package_require('img::window'); |
49
|
|
|
|
|
|
|
Tkx::package_require('img::xbm'); |
50
|
|
|
|
|
|
|
Tkx::package_require('img::xpm'); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
} # end of sub BEGIN |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
# ############################################################################## |
55
|
|
|
|
|
|
|
# # E N D # |
56
|
|
|
|
|
|
|
# ############################################################################## |
57
|
|
|
|
|
|
|
1; |
58
|
|
|
|
|
|
|
__END__ |