home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4.3 / 1998-09_Disc_4.3.iso / elink / 3-day / clarishp / _setup.1 / HOMEPAGE.exe / 1009 / 157 < prev    next >
Text File  |  1997-02-20  |  7KB  |  210 lines

  1. // -----
  2. // vdl157.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6.  
  7. //Document Statistics
  8. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  9. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11.  
  12. //This section contains all localizable string constants for this VDL program. Be sure to 
  13. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  14. //You may also flatten multiline constants into a single line, if you prefer
  15.  
  16. #define kLit1 "Document"
  17. #define kLit2 "Character Count: "
  18. #define kLit3 "Word Count: "
  19. #define kLit4 "Total Image Size: "
  20. #define kLit5 "Minimum Download Time at 14400: "
  21. #define kLit6 " Seconds"
  22. #define kLit7 "Minimum Download Time at 28800: "
  23. #define kLit8 "&OK"
  24. #define kLit9 "Selection"
  25. #define kLit10 "Byte Count: "
  26.  
  27. //Localized Fonts
  28. #if Platform_Mac
  29.     #define DisplayFont { Geneva, 10, {Plain} }
  30. #else
  31.     #define DisplayFont SystemFont
  32. #endif
  33.  
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  36. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  37.  
  38.  
  39.  
  40. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  41. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  42. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  43.  
  44. //This section contains integer constants that are used to format this VDL program.
  45. //These are localizable - they only need to be changed if the localized strings 
  46. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  47.  
  48. #if Platform_Mac
  49.     //Width of the labels
  50.     #define kLabelWidth 180
  51.     
  52.     //Width of the displayed values
  53.     #define kValueWidth 88
  54.     
  55.     //Width of the OK Button
  56.     #define kOKButtonWidth 70
  57. #else
  58.  
  59.     //Width of the labels
  60.     #define kLabelWidth 240
  61.     
  62.     //Width of the displayed values
  63.     #define kValueWidth 100
  64.     
  65.     //Width of the OK Button
  66.     #define kOKButtonWidth 100
  67.  
  68. #endif
  69.  
  70. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  71. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  72. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  73.  
  74. //No further localizable data past this point
  75.  
  76. /************************** END LOCALIZABLE DATA ***************************************************/
  77. /************************** END LOCALIZABLE DATA ***************************************************/
  78. /************************** END LOCALIZABLE DATA ***************************************************/
  79.  
  80.  
  81. #if Platform_Mac
  82.     #define dlogBack BackColor = {65535, 65535, 65535}
  83. #else
  84.     #define dlogBack BackColor = Dialog
  85. #endif
  86.  
  87. #define EH EnabledHelpString =
  88.  
  89.  
  90. Margin(10, 10, 10, 10, dlogBack)
  91. VList()
  92.     {
  93.     Label(kLit1, Single)
  94.         Margin(5,5,5,5)
  95.             VList()
  96.                 {
  97.                 Switch (docEncoding)
  98.                     {
  99.                     case 0:
  100.                         VList()
  101.                             {
  102.                             HList()
  103.                                 {
  104.                                 StaticText( kLit2, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  105.                                 StaticText(docChars, Font = DisplayFont, Width = kValueWidth );
  106.                                 }
  107.                             Spacer(Height = 5, Width = 0);
  108.                             HList()
  109.                                 {
  110.                                 StaticText( kLit3, Width = kLabelWidth, Font = DisplayFont , Alignment = Right);
  111.                                 StaticText(docWords, Font = DisplayFont , Width = kValueWidth);
  112.                                 }
  113.                             }
  114.                     
  115.                     default:
  116.                         HList()
  117.                             {
  118.                             StaticText(kLit10, Width = kLabelWidth, Font = DisplayFont, Alignment = Right);
  119.                             StaticText(docChars, Font = DisplayFont, Width = kValueWidth );
  120.                             }
  121.                     
  122.                     } // Switch (docEncoding)
  123.                 
  124.                 Spacer(Height = 5, Width = 0);
  125.                 HList()
  126.                     {
  127.                     StaticText( kLit4, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  128.                     StaticText(docImageSize, Font = DisplayFont, Width = kValueWidth );
  129.                     }
  130.                 Spacer(Height = 5, Width = 0);
  131.                 HList()
  132.                     {
  133.                     StaticText( kLit5, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  134.                     StaticText(docSlowDownload, Font = DisplayFont);
  135.                     // StaticText( kLit6, Font = DisplayFont);
  136.                     }
  137.                 Spacer(Height = 5, Width = 0);
  138.                 HList()
  139.                     {
  140.                     StaticText( kLit7, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  141.                     StaticText(docFastDownload, Font = DisplayFont);
  142.                     // StaticText( kLit6, Font = DisplayFont);
  143.                     }
  144.                 }
  145.                 
  146.     Spacer(Height = 10, Width = 0);
  147.     
  148.     Label(kLit9, Single)
  149.         Margin(5,5,5,5)
  150.             VList()
  151.                 {
  152.                 Switch (docEncoding)
  153.                     {
  154.                     case 0:
  155.                         VList()
  156.                             {
  157.                             HList()
  158.                                 {
  159.                                 StaticText( kLit2, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  160.                                 StaticText(selChars, Font = DisplayFont, Width = kValueWidth );
  161.                                 }
  162.                             Spacer(Height = 5, Width = 0);
  163.                             HList()
  164.                                 {
  165.                                 StaticText( kLit3, Width = kLabelWidth, Font = DisplayFont , Alignment = Right);
  166.                                 StaticText(selWords, Font = DisplayFont , Width = kValueWidth);
  167.                                 }
  168.                             }
  169.                     
  170.                     default:
  171.                         HList()
  172.                             {
  173.                             StaticText(kLit10, Width = kLabelWidth, Font = DisplayFont, Alignment = Right);
  174.                             StaticText(selChars, Font = DisplayFont, Width = kValueWidth);
  175.                             }
  176.                     
  177.                     } // Switch (docEncoding)
  178.                 
  179.                 Spacer(Height = 5, Width = 0);
  180.                 HList()
  181.                     {
  182.                     StaticText( kLit4, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  183.                     StaticText(selImageSize, Font = DisplayFont, Width = kValueWidth );
  184.                     }
  185.                 Spacer(Height = 5, Width = 0);
  186.                 HList()
  187.                     {
  188.                     StaticText( kLit5, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  189.                     StaticText(selSlowDownload, Font = DisplayFont);
  190.                     // StaticText( kLit6, Font = DisplayFont);
  191.                     }
  192.                 Spacer(Height = 5, Width = 0);
  193.                 HList()
  194.                     {
  195.                     StaticText( kLit7, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
  196.                     StaticText(selFastDownload, Font = DisplayFont);
  197.                     // StaticText( kLit6, Font = DisplayFont);
  198.                     }
  199.                 }
  200.         
  201.     Spacer(Height = 16, Width = 0);
  202.     
  203.     HList(Width = UseParent)
  204.         {
  205.         Spacer(Width = UseParent, Height = 0);        
  206.         DefaultButton(kLit8, 1071, "None", Width = kOKButtonWidth);
  207.         }
  208.     }
  209.  
  210.