git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termcol: omit backgrounded sample cells for msx transparancy
[sheet.git]
/
termcol.inc.pl
diff --git
a/termcol.inc.pl
b/termcol.inc.pl
index 715c17492783a2d3d77edbcd591312e64a66871b..bcc7b9e1c09ec027801da5bc6de3d3a9036ccd70 100644
(file)
--- a/
termcol.inc.pl
+++ b/
termcol.inc.pl
@@
-1,6
+1,8
@@
use strict;
use Shiar_Sheet::Colour '1.02';
use strict;
use Shiar_Sheet::Colour '1.02';
+my @msxorder = ( 0,6,2,10,4,13,7,14 , 1,8,3,11,5,9,12,15 );
+
+{
html => {
title => 'HTML keywords (inherited by CSS≥2.1 and SVG), mostly identical to X11',
+{
html => {
title => 'HTML keywords (inherited by CSS≥2.1 and SVG), mostly identical to X11',
@@
-83,6
+85,7
@@
use Shiar_Sheet::Colour '1.02';
FFFFFF FBF305 FF6403 DD0907 F20884 4700A5 0000D3 02ABEA
1FB714 006412 562C05 90713A C0C0C0 808080 404040 000000
)],
FFFFFF FBF305 FF6403 DD0907 F20884 4700A5 0000D3 02ABEA
1FB714 006412 562C05 90713A C0C0C0 808080 404040 000000
)],
+ ansiorder => [ 15,3,9,11,6,5,7,12 , 14,2,8,1,13,4,10,0 ],
},
risc => {
name => 'RISC', # v2/3
},
risc => {
name => 'RISC', # v2/3
@@
-90,6
+93,7
@@
use Shiar_Sheet::Colour '1.02';
FFFFFF DDDDDD BBBBBB 999999 777777 555555 333333 000000
004499 EEEE00 00CC00 DD0000 EEEEBB 558800 FFBB00 00BBFF
)],
FFFFFF DDDDDD BBBBBB 999999 777777 555555 333333 000000
004499 EEEE00 00CC00 DD0000 EEEEBB 558800 FFBB00 00BBFF
)],
+ ansiorder => [ 7,11,13,14,8,12,15,1, 6,5,10,9,4,3,2,0 ],
},
c64 => {
name => 'C=64', # commodore 64/128
},
c64 => {
name => 'C=64', # commodore 64/128
@@
-115,6
+119,7
@@
use Shiar_Sheet::Colour '1.02';
0 32 10+5 20-5 12+2 16-2 8+0 24-0
12+6 8+7 16+5 10 15 24-2 15+0 20
)],
0 32 10+5 20-5 12+2 16-2 8+0 24-0
12+6 8+7 16+5 10 15 24-2 15+0 20
)],
+ ansiorder => [ 0,2,5,9,6,4,3,15 , 11,10,13,7,14,8,12,1 ],
},
msx1 => {
name => 'MSX',
},
msx1 => {
name => 'MSX',
@@
-129,6
+134,7
@@
use Shiar_Sheet::Colour '1.02';
0.53;0.27;0.93 0.67;0.27;0.93 0.73;0.07;0.57 0.80;0.17;0.57
0.47;0.23;0.13 0.53;0.67;0.73 0.80;0.47;0.47 1.00;0.47;0.47
)],
0.53;0.27;0.93 0.67;0.27;0.93 0.73;0.07;0.57 0.80;0.17;0.57
0.47;0.23;0.13 0.53;0.67;0.73 0.80;0.47;0.47 1.00;0.47;0.47
)],
+ ansiorder => \@msxorder,
},
msx2 => {
name => 'MSX2',
},
msx2 => {
name => 'MSX2',
@@
-137,6
+143,7
@@
use Shiar_Sheet::Colour '1.02';
000 000 161 373 117 237 511 267
711 733 661 663 141 625 555 777
)],
000 000 161 373 117 237 511 267
711 733 661 663 141 625 555 777
)],
+ ansiorder => \@msxorder,
},
arnejmp => {
href => 'http://androidarts.com/palette/16pal.htm',
},
arnejmp => {
href => 'http://androidarts.com/palette/16pal.htm',
@@
-146,6
+153,7
@@
use Shiar_Sheet::Colour '1.02';
000000 191028 46AF45 A1D685 453E78 7664FE 833129 9EC2E8
DC534B E18D79 D6B97B E9D8A1 216C4B D365C8 AFAAB9 F5F4EB
)],
000000 191028 46AF45 A1D685 453E78 7664FE 833129 9EC2E8
DC534B E18D79 D6B97B E9D8A1 216C4B D365C8 AFAAB9 F5F4EB
)],
+ ansiorder => \@msxorder,
},
arnegame => {
href => 'http://androidarts.com/palette/16pal.htm',
},
arnegame => {
href => 'http://androidarts.com/palette/16pal.htm',
@@
-157,6
+165,8
@@
use Shiar_Sheet::Colour '1.02';
F7E26B::zornskin 2F484E::shade 44891A::leaf A3CE27::slime
1B2632::night 005784::sea 31A2F2::sky B2DCEF::cloud
)],
F7E26B::zornskin 2F484E::shade 44891A::leaf A3CE27::slime
1B2632::night 005784::sea 31A2F2::sky B2DCEF::cloud
)],
+ order => [ 0,5,9,12 , 3,6,10,13,1 , 4,7,8,11,14,15,2 ], # by brightness
+ ansiorder => [ 0,3,10,6,12,9,13,1 , 5,7,11,8,14,4,15,2 ],
},
cpc => {
},
cpc => {
@@
-169,7
+179,7
@@
use Shiar_Sheet::Colour '1.02';
],
},
ansi88 => {
],
},
ansi88 => {
- name => '
88-colour space
',
+ name => '
rxvt 88 colour extension
',
rgbmap => [
4 => sub {
$_[2] + 4 * ($_[1] + 4 * $_[0]) + 16,
rgbmap => [
4 => sub {
$_[2] + 4 * ($_[1] + 4 * $_[0]) + 16,
@@
-179,7
+189,9
@@
use Shiar_Sheet::Colour '1.02';
],
},
ansi256 => {
],
},
ansi256 => {
- name => '256-colour space',
+ name => 'xterm 256 colour extension',
+ href => 'http://web.archive.org/web/20130125000058/http://www.frexx.de/xterm-256-notes/',
+ # \033[38;5;${FG}m
rgbmap => [
6 => sub {
$_[2] + 6 * ($_[1] + 6 * $_[0]) + 16,
rgbmap => [
6 => sub {
$_[2] + 6 * ($_[1] + 6 * $_[0]) + 16,