new functions for measuring glyphs

This commit is contained in:
ehouse 2005-07-08 08:29:37 +00:00
parent b77e2999b8
commit 591e43d752
2 changed files with 11 additions and 1 deletions

View file

@ -220,3 +220,11 @@ NetLibReceive
NetLibSelect
NetLibSocketConnect
NetLibSocketOptionSet
#
# These are currently needed only when TALL_FONTS is #defined
#
BmpCreate
BmpDelete
WinCreateBitmapWindow
WinSetDrawMode
WinGetPixel

View file

@ -161,6 +161,8 @@ my %typeInfo = (
"NetFDSetType*" => { "size" => 4, "a0" => 1, "autoSwap" => 4 },
"NetSocketAddrEnum" => { "size" => 1, "a0" => 0 },
"NetSocketTypeEnum" => { "size" => 1, "a0" => 0 },
"BitmapType*" => { "size" => 4, "a0" => 1 },
"ColorTableType*" => { "size" => 4, "a0" => 1 },
);
sub name_compact($) {
@ -262,7 +264,7 @@ sub searchOneFile($$) {
# $contents =~ m/(\w+)([\s\*]+)$function\s*(\([^)]*\))/;
if ( $contents =~ m/([\w\s]+)([\s\*]+)$function\s*(\([^)]*\))[^V]*(VFSMGR_TRAP)\(([\w]+)\);/
|| $contents =~ m/([\w\s]+)([\s\*]+)$function\s*(\([^)]*\))[^S]*(SYS_TRAP)\(([\w]+)\);/
|| $contents =~ m/([\w\s]+)([\s\*]+)$function\s*(\([^)]*\))[^S]*(SYS_TRAP)\s*\(([\w]+)\);/
|| $contents =~ m/([\w\s]+)([\s\*]+)$function\s*(\([^)]*\))[^H]*(HIGH_DENSITY_TRAP)\(([\w]+)\);/
|| $contents =~ m/([\w\s]+)([\s\*]+)$function\s*(\([^)]*\))[^G]*(GRF_TRAP)\(([\w]+)\);/ ) {