mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
new functions for measuring glyphs
This commit is contained in:
parent
b77e2999b8
commit
591e43d752
2 changed files with 11 additions and 1 deletions
|
@ -220,3 +220,11 @@ NetLibReceive
|
|||
NetLibSelect
|
||||
NetLibSocketConnect
|
||||
NetLibSocketOptionSet
|
||||
#
|
||||
# These are currently needed only when TALL_FONTS is #defined
|
||||
#
|
||||
BmpCreate
|
||||
BmpDelete
|
||||
WinCreateBitmapWindow
|
||||
WinSetDrawMode
|
||||
WinGetPixel
|
||||
|
|
|
@ -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]+)\);/ ) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue