From 591e43d7526c05b2ab4542383e09ee343d772a4d Mon Sep 17 00:00:00 2001 From: ehouse Date: Fri, 8 Jul 2005 08:29:37 +0000 Subject: [PATCH] new functions for measuring glyphs --- palm/funcfile.txt | 8 ++++++++ palm/gen_pace.pl | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/palm/funcfile.txt b/palm/funcfile.txt index f7e01b0cc..53e3ef0c4 100644 --- a/palm/funcfile.txt +++ b/palm/funcfile.txt @@ -220,3 +220,11 @@ NetLibReceive NetLibSelect NetLibSocketConnect NetLibSocketOptionSet +# +# These are currently needed only when TALL_FONTS is #defined +# +BmpCreate +BmpDelete +WinCreateBitmapWindow +WinSetDrawMode +WinGetPixel diff --git a/palm/gen_pace.pl b/palm/gen_pace.pl index 32c044785..a601cf45c 100755 --- a/palm/gen_pace.pl +++ b/palm/gen_pace.pl @@ -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]+)\);/ ) {