TextMode/Palette/Atari.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« TextMode/Palette/ANSI.pm ↑ Summary TextMode/Palette/VGA.pm »
1 package Image::TextMode::Palette::Atari;
2  
3 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 extends 'Image::TextMode::Palette';
6  
7 has '+colors' => (
8 default => sub {
9 1 ▶ [ [ 0x18, 0x70, 0xc0 ], # bg
Subroutine __ANON__: called CC=1 SCAR=0.0
10 [ 0x88, 0xd8, 0xf8 ], # fg
11 ];
12 }
13 1 );
14  
15 =head1 NAME
16  
17 Image::TextMode::Palette::Atari - 2-color Atari palette
18  
19 =head1 DESCRIPTION
20  
21 This is the default ATASCII palette.
22  
23 =head1 AUTHOR
24  
25 Brian Cassidy E<lt>bricas@cpan.orgE<gt>
26  
27 =head1 COPYRIGHT AND LICENSE
28  
29 Copyright 2008-2015 by Brian Cassidy
30  
31 This library is free software; you can redistribute it and/or modify
32 it under the same terms as Perl itself.
33  
34 =cut
35  
36 1 1;
« TextMode/Palette/ANSI.pm ↑ Summary TextMode/Palette/VGA.pm »