summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2009-10-25 17:13:43 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2009-10-25 17:13:43 +0200
commit980a2b25dd3dbe0d26282b2cbd96a467c4d569e0 (patch)
tree8e59ed9def283c3d2a6ae2ae7dd3da8979c51c56 /src
parent2c09d353c899fbb67139ef7a66d79f8d7f8196d6 (diff)
downloadfpGUI-980a2b25dd3dbe0d26282b2cbd96a467c4d569e0.tar.xz
Add new NLS data structures to the IPF format file.
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/IPFFileFormatUnit.pas29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/IPFFileFormatUnit.pas b/src/IPFFileFormatUnit.pas
index cc0e7683..78c67060 100644
--- a/src/IPFFileFormatUnit.pas
+++ b/src/IPFFileFormatUnit.pas
@@ -178,6 +178,35 @@ type
end;
pTHelpFontSpec = ^THelpFontSpec;
+ TNlsHeader = packed record
+ NlsSize: uint16;
+ NlsType: uint8;
+ NlsFormat: uint8;
+ end;
+
+ TNlsCountryDef = packed record
+ { if the following is true then...
+ NlsHeader.size = 10
+ NlsHeader.type = NLSRecType.CONTROL
+ NlsHeader.format = 0
+ }
+ Value: uint16; // =256
+ Code: uint16; // country code
+ Page: uint16; // code page
+ Reserved: uint16;
+ end;
+
+ // Single-byte character set
+ TSbcsNlsGrammerDef = packed record
+ { if the following is true then...
+ NlsHeader.size = 36
+ NlsHeader.type = NLSRecType.WORD || NLSRecType.GRAPHIC
+ NlsHeader.format = 0
+ }
+ bits: array[0..31] of uint8; // high-order bits first
+ end;
+
+
// List of IPF escape codes.
const