line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Image::TextMode::Palette::VGA; |
2
|
|
|
|
|
|
|
|
3
|
29
|
|
|
29
|
|
126
|
use Moo; |
|
29
|
|
|
|
|
39
|
|
|
29
|
|
|
|
|
140
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Image::TextMode::Palette'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has '+colors' => ( |
8
|
|
|
|
|
|
|
default => sub { |
9
|
|
|
|
|
|
|
[ [ 0x00, 0x00, 0x00 ], |
10
|
|
|
|
|
|
|
[ 0x00, 0x00, 0xaa ], |
11
|
|
|
|
|
|
|
[ 0x00, 0xaa, 0x00 ], |
12
|
|
|
|
|
|
|
[ 0x00, 0xaa, 0xaa ], |
13
|
|
|
|
|
|
|
[ 0xaa, 0x00, 0x00 ], |
14
|
|
|
|
|
|
|
[ 0xaa, 0x00, 0xaa ], |
15
|
|
|
|
|
|
|
[ 0xaa, 0x55, 0x00 ], |
16
|
|
|
|
|
|
|
[ 0xaa, 0xaa, 0xaa ], |
17
|
|
|
|
|
|
|
[ 0x55, 0x55, 0x55 ], |
18
|
|
|
|
|
|
|
[ 0x55, 0x55, 0xff ], |
19
|
|
|
|
|
|
|
[ 0x55, 0xff, 0x55 ], |
20
|
|
|
|
|
|
|
[ 0x55, 0xff, 0xff ], |
21
|
|
|
|
|
|
|
[ 0xff, 0x55, 0x55 ], |
22
|
|
|
|
|
|
|
[ 0xff, 0x55, 0xff ], |
23
|
|
|
|
|
|
|
[ 0xff, 0xff, 0x55 ], |
24
|
|
|
|
|
|
|
[ 0xff, 0xff, 0xff ], |
25
|
|
|
|
|
|
|
]; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Image::TextMode::Palette::VGA - 16-color VGA palette |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This is the default VGA palette. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 AUTHOR |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Brian Cassidy Ebricas@cpan.orgE |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Copyright 2008-2014 by Brian Cassidy |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
46
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |