line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDLx::Widget; |
2
|
1
|
|
|
1
|
|
23948
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
45
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
BEGIN { |
5
|
1
|
|
|
1
|
|
5
|
use Exporter (); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
20
|
|
6
|
1
|
|
|
1
|
|
6
|
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
136
|
|
7
|
1
|
|
|
1
|
|
2
|
$VERSION = '0.03'; |
8
|
1
|
|
|
|
|
16
|
@ISA = qw(Exporter); |
9
|
|
|
|
|
|
|
#Give a hoot don't pollute, do not export more than needed by default |
10
|
1
|
|
|
|
|
3
|
@EXPORT = qw(); |
11
|
1
|
|
|
|
|
2
|
@EXPORT_OK = qw(); |
12
|
1
|
|
|
|
|
75
|
%EXPORT_TAGS = (); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
SDLx::Widget - Common Widgets using SDL |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSIS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
use SDLx::Widget; |
23
|
|
|
|
|
|
|
use SDLx::Widget::Controller; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 USAGE |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Pick a widget connect it to SDLx::Widget::Controller. More to come |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
See the examples directory that came with this package |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 BUGS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 SUPPORT |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
#sdl irc.perl.org |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 AUTHORS |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Dustin Mays |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Garu |
47
|
|
|
|
|
|
|
CPAN ID: GARU |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Zach |
50
|
|
|
|
|
|
|
CPAN ID:ZPMORGAN |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Kartik Thakore |
54
|
|
|
|
|
|
|
CPAN ID: KTHAKORE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
http://sdl.perl.org |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 COPYRIGHT |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This program is free software; you can redistribute |
61
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The full text of the license can be found in the |
64
|
|
|
|
|
|
|
LICENSE file included with this module. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 SEE ALSO |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
perl(1). |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=cut |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
#################### main pod documentation end ################### |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
1; |
77
|
|
|
|
|
|
|
# The preceding line will help the module return a true value |
78
|
|
|
|
|
|
|
|