line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POE::XUL::Constants; |
2
|
|
|
|
|
|
|
# $Id: Constants.pm 1566 2010-11-03 03:13:32Z fil $ |
3
|
|
|
|
|
|
|
# Copyright Philip Gwyn 2007-2010. All rights reserved. |
4
|
|
|
|
|
|
|
# Based on code Copyright 2003-2004 Ran Eilam. All rights reserved. |
5
|
|
|
|
|
|
|
|
6
|
21
|
|
|
21
|
|
69
|
use strict; |
|
21
|
|
|
|
|
22
|
|
|
21
|
|
|
|
|
480
|
|
7
|
21
|
|
|
21
|
|
69
|
use warnings; |
|
21
|
|
|
|
|
24
|
|
|
21
|
|
|
|
|
854
|
|
8
|
21
|
|
|
21
|
|
79
|
use Carp; |
|
21
|
|
|
|
|
23
|
|
|
21
|
|
|
|
|
2172
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '0.0601'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
require Exporter; |
13
|
|
|
|
|
|
|
our @ISA = qw( Exporter ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our @EXPORT = qw( |
16
|
|
|
|
|
|
|
FLEX ALIGN_START ALIGN_CENTER ALIGN_END ALIGN_BASELINE ALIGN_STRETCH |
17
|
|
|
|
|
|
|
ALIGN_LEFT ALIGN_CENTER ALIGN_RIGHT PACK_START PACK_CENTER PACK_END |
18
|
|
|
|
|
|
|
ORIENT_HORIZONTAL ORIENT_VERTICAL DIR_FORWARD DIR_REVERSE CROP_START |
19
|
|
|
|
|
|
|
CROP_CENTER CROP_END SIZE_TO_CONTENT DISABLED ENABLED TYPE_CHECKBOX |
20
|
|
|
|
|
|
|
TYPE_RADIO TYPE_MENU TYPE_MENU_BUTTON TYPE_BUTTON TYPE_PASSWORD FILL |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
|
23
|
21
|
|
|
21
|
|
80
|
use constant FLEX => (flex => 1); |
|
21
|
|
|
|
|
22
|
|
|
21
|
|
|
|
|
1408
|
|
24
|
|
|
|
|
|
|
|
25
|
21
|
|
|
21
|
|
88
|
use constant ALIGN_START => (align => 'start'); |
|
21
|
|
|
|
|
33
|
|
|
21
|
|
|
|
|
1076
|
|
26
|
21
|
|
|
21
|
|
84
|
use constant ALIGN_CENTER => (align => 'center'); |
|
21
|
|
|
|
|
24
|
|
|
21
|
|
|
|
|
989
|
|
27
|
21
|
|
|
21
|
|
101
|
use constant ALIGN_END => (align => 'end'); |
|
21
|
|
|
|
|
30
|
|
|
21
|
|
|
|
|
961
|
|
28
|
21
|
|
|
21
|
|
80
|
use constant ALIGN_BASELINE => (align => 'baseline'); |
|
21
|
|
|
|
|
25
|
|
|
21
|
|
|
|
|
4919
|
|
29
|
21
|
|
|
21
|
|
969
|
use constant ALIGN_STRETCH => (align => 'stretch'); |
|
21
|
|
|
|
|
820
|
|
|
21
|
|
|
|
|
1933
|
|
30
|
21
|
|
|
21
|
|
73
|
use constant ALIGN_LEFT => (align => 'left'); |
|
21
|
|
|
|
|
20
|
|
|
21
|
|
|
|
|
796
|
|
31
|
21
|
|
|
21
|
|
64
|
use constant ALIGN_RIGHT => (align => 'right'); |
|
21
|
|
|
|
|
22
|
|
|
21
|
|
|
|
|
1521
|
|
32
|
|
|
|
|
|
|
|
33
|
21
|
|
|
21
|
|
95
|
use constant PACK_START => (pack => 'start'); |
|
21
|
|
|
|
|
23
|
|
|
21
|
|
|
|
|
806
|
|
34
|
21
|
|
|
21
|
|
65
|
use constant PACK_CENTER => (pack => 'center'); |
|
21
|
|
|
|
|
18
|
|
|
21
|
|
|
|
|
839
|
|
35
|
21
|
|
|
21
|
|
74
|
use constant PACK_END => (pack => 'end'); |
|
21
|
|
|
|
|
30
|
|
|
21
|
|
|
|
|
1708
|
|
36
|
|
|
|
|
|
|
|
37
|
21
|
|
|
21
|
|
929
|
use constant ORIENT_HORIZONTAL => (orient => 'horizontal'); |
|
21
|
|
|
|
|
793
|
|
|
21
|
|
|
|
|
1618
|
|
38
|
21
|
|
|
21
|
|
69
|
use constant ORIENT_VERTICAL => (orient => 'vertical'); |
|
21
|
|
|
|
|
21
|
|
|
21
|
|
|
|
|
839
|
|
39
|
|
|
|
|
|
|
|
40
|
21
|
|
|
21
|
|
63
|
use constant DIR_FORWARD => (dir => 'forward'); |
|
21
|
|
|
|
|
23
|
|
|
21
|
|
|
|
|
803
|
|
41
|
21
|
|
|
21
|
|
71
|
use constant DIR_REVERSE => (dir => 'reverse'); |
|
21
|
|
|
|
|
17
|
|
|
21
|
|
|
|
|
814
|
|
42
|
|
|
|
|
|
|
|
43
|
21
|
|
|
21
|
|
76
|
use constant CROP_START => (crop => 'start'); |
|
21
|
|
|
|
|
21
|
|
|
21
|
|
|
|
|
949
|
|
44
|
21
|
|
|
21
|
|
67
|
use constant CROP_CENTER => (crop => 'center'); |
|
21
|
|
|
|
|
18
|
|
|
21
|
|
|
|
|
777
|
|
45
|
21
|
|
|
21
|
|
66
|
use constant CROP_END => (crop => 'end'); |
|
21
|
|
|
|
|
21
|
|
|
21
|
|
|
|
|
717
|
|
46
|
|
|
|
|
|
|
|
47
|
21
|
|
|
21
|
|
63
|
use constant SIZE_TO_CONTENT => (sizeToContent => 1); |
|
21
|
|
|
|
|
21
|
|
|
21
|
|
|
|
|
727
|
|
48
|
|
|
|
|
|
|
|
49
|
21
|
|
|
21
|
|
68
|
use constant DISABLED => (disabled => 1); |
|
21
|
|
|
|
|
22
|
|
|
21
|
|
|
|
|
745
|
|
50
|
21
|
|
|
21
|
|
67
|
use constant ENABLED => (disabled => 0); |
|
21
|
|
|
|
|
22
|
|
|
21
|
|
|
|
|
798
|
|
51
|
|
|
|
|
|
|
|
52
|
21
|
|
|
21
|
|
71
|
use constant TYPE_CHECKBOX => (type => 'checkbox'); |
|
21
|
|
|
|
|
17
|
|
|
21
|
|
|
|
|
833
|
|
53
|
21
|
|
|
21
|
|
68
|
use constant TYPE_RADIO => (type => 'radio'); |
|
21
|
|
|
|
|
35
|
|
|
21
|
|
|
|
|
810
|
|
54
|
21
|
|
|
21
|
|
150
|
use constant TYPE_MENU => (type => 'menu'); |
|
21
|
|
|
|
|
18
|
|
|
21
|
|
|
|
|
834
|
|
55
|
21
|
|
|
21
|
|
70
|
use constant TYPE_MENU_BUTTON => (type => 'menu-button'); |
|
21
|
|
|
|
|
26
|
|
|
21
|
|
|
|
|
930
|
|
56
|
21
|
|
|
21
|
|
68
|
use constant TYPE_BUTTON => (type => 'button'); |
|
21
|
|
|
|
|
27
|
|
|
21
|
|
|
|
|
809
|
|
57
|
21
|
|
|
21
|
|
66
|
use constant TYPE_PASSWORD => (type => 'PASSWORD'); |
|
21
|
|
|
|
|
17
|
|
|
21
|
|
|
|
|
901
|
|
58
|
|
|
|
|
|
|
|
59
|
21
|
|
|
21
|
|
87
|
use constant FILL => (ALIGN_STRETCH, FLEX); |
|
21
|
|
|
|
|
22
|
|
|
21
|
|
|
|
|
944
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
1; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
__END__ |