X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/3bfa29782285fd9a9fefcaf21fa0aa7df776d88b..a52ae5113c5e53c242e38c1805e97888840ebc50:/screen.plp diff --git a/screen.plp b/screen.plp index c6feb72..3e61f0b 100644 --- a/screen.plp +++ b/screen.plp @@ -22,35 +22,9 @@ Html({ <: use Shiar_Sheet::Keyboard 2; -my $info = do 'screen.eng.inc.pl' or die $@ // $!; +my $info = Data('screen.eng'); my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows}); -:> - -
- -
-
-<: - $keys->print_legend('legend-types', ['g1' .. 'g7', 'g9']); -:> -
- -
-<: - $keys->print_legend('legend-options', [qw'arg']); -:> - - -
-
+$keys->print_legends(\%get);