X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f63a57e71a3aed6fe5e80ca979186e3bd6c7eb6b..3e24bf25b4f498277639d4f97e64999ebfc76a11:/mplayer.plp diff --git a/mplayer.plp b/mplayer.plp index 46dcaa3..ef31e6b 100644 --- a/mplayer.plp +++ b/mplayer.plp @@ -1,32 +1,21 @@ <(common.inc.plp)><: - our $VERSION = 'v1.0'; - use Shiar_Sheet::KeySigns qw(%sign); +Html({ + title => 'mplayer cheat sheet', + version => 'v1.1', + description => [ + "Keyboard cheat sheet for the MPlayer media player,", + "overviewing the default controls." + ], + keywords => [qw' + mplayer video media sheet cheat reference overview control shortkey keyboard + '], + charset => $sign{charset}, + stylesheet => [qw'light dark circus mono red terse'], + keys => 1, +}); - $header{content_type} = "text/html; charset=$sign{charset}"; - -:> - - - - -mplayer cheat sheet - - -<:= stylesheet(qw'light dark circus mono red terse') :> - -<: - our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n".'' - unless $showkeys; - print "\n".'' - if $showkeys and $get{keys} eq 'ghost'; :> - - - -

MPlayer cheat sheet

index (default)

@@ -41,8 +30,10 @@ <: -use Shiar_Sheet::Keyboard; -my $keys = Shiar_Sheet::Keyboard->new({do 'mplayer.inc.pl'}); +use Shiar_Sheet::Keyboard 2; +my $info = do 'mplayer.eng.inc.pl' or die $@; +$info->{def} = do 'mplayer.inc.pl'; +my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows}, [1,0]); :> @@ -91,14 +82,3 @@ $keys->print_rows($get{rows}, [1,0]); - - -