home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-07-10 | 1.6 KB | 76 lines | [TEXT/CWIE] |
- // =================================================================================
- // Pict2Ascii.r 1997 BB's Team inc. All rights reserved
- // =================================================================================
-
- #include "Types.r"
-
- // ---------------------------------------------------------------------------------
- // • TMPL
- // ---------------------------------------------------------------------------------
-
- // define the TMPL resource type (not standard, it seems !)
- type 'TMPL' {
- wide array {
- pstring;
- literal longint;
- };
- };
-
-
- // ---------------------------------------------------------------------------------
- // • Excl
- // ---------------------------------------------------------------------------------
-
- // define new resource type
- type 'Excl' {
- integer = $$CountOf(ExclArray); /* count array elements */
- array ExclArray {
- byte; /* excluded characters */
- };
- };
-
- // provide a template to edit 'Excl' resources
- resource 'TMPL' (128, "Excl") {
- {
- "Count", 'OCNT',
- "*****", 'LSTC',
- "Excluded", 'UBYT',
- "*****", 'LSTE',
- }
- };
-
- // define the 'Excl' resource 128
- resource 'Excl' (128, "Excluded characters") {
- {
- 127,
- };
- };
-
-
- // ---------------------------------------------------------------------------------
- // • hide
- // ---------------------------------------------------------------------------------
- type 'hide' {
- byte;
- byte;
- byte;
- byte;
- };
-
- resource 'TMPL' (130, "hide") {
- {
- "Width base char", 'DBYT',
- "Width versus char", 'DBYT',
- "# repeat", 'DBYT',
- "Size for monoSpace test", 'DBYT',
- };
- };
-
- resource 'hide' (128, "hide") {
- 'A',
- 'i',
- 1,
- 9,
- };
-
-