X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/255eec0c0c6fc543f1023aec6332b73687fca836..16499a59e8c124cedc7cc499a3ebfaeb714e1f44:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 0a8a50a..6772dfc 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -274,5 +274,22 @@ sub print { } } +sub legend { + my @classes = ( + ["X l5" => 'unicode 1.1'], + ["X l4" => '20th century'], + ["X l3" => 'in 6.0 (2010)'], + ["X l2" => 'recent assignments'], + ["X l1" => 'proposed'], + ["ex" => 'irregular'], + ); + + return ( + '
', + (map { sprintf '
%s', @{$_} } @classes), + '
', + ); +} + 1;