XRandR/XRRModeInfo.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« XRandR/Types.pm ↑ Summary
1 package X11::XRandR::XRRModeInfo;
2  
3 # ABSTRACT: Mirror of X11 XRRModeInfo structure
4  
5 1 ▶use Types::Standard -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Types::Common::Numeric -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use X11::XRandR::Types -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use MooX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 our $VERSION = '0.01';
15  
16 #pod =attr id
17 #pod
18 #pod =cut
19  
20 1 has id => (
21 is => 'ro',
22 isa => XID,
23 required => 1,
24 );
25  
26 #pod =attr width
27 #pod
28 #pod =attr height
29 #pod
30 #pod =attr dotClock
31 #pod
32 #pod =attr hSyncStart
33 #pod
34 #pod =attr hSyncEnd
35 #pod
36 #pod =attr hTotal
37 #pod
38 #pod =attr hSkew
39 #pod
40 #pod =attr vSyncStart
41 #pod
42 #pod =attr vSyncEnd
43 #pod
44 #pod =attr vTotal
45 #pod
46 #pod =cut
47  
48 has $_ => (
49 is => 'ro',
50 isa => PositiveOrZeroInt,
51 required => 1
52 )
53 1 for qw[
54 width
55 height
56 dotClock
57 hSyncStart
58 hSyncEnd
59 hTotal
60 hSkew
61 vSyncStart
62 vSyncEnd
63 vTotal
64 ];
65  
66 #pod =attr name
67 #pod
68 #pod =cut
69  
70 1 has name => ( is => 'ro', isa => Str );
71  
72 #pod =attr modeFlags
73 #pod
74 #pod Video Mode Flags; see L<X11::XRandR::Types/ModeFlag>
75 #pod
76 #pod =cut
77  
78 1 has modeFlags => (
79 is => 'ro',
80 isa => ArrayRef [ModeFlag],
81 );
82  
83 1 1;
84  
85 #
86 # This file is part of X11-XRandR
87 #
88 # This software is Copyright (c) 2018 by Diab Jerius.
89 #
90 # This is free software, licensed under:
91 #
92 # The GNU General Public License, Version 3, June 2007
93 #
94  
95 __END__
« XRandR/Types.pm ↑ Summary