home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1999 March / CDW0399.iso / Demos / HomePage / data1.cab / Program_Executable_Files / Homepage.exe / 1009 / 169 < prev    next >
Encoding:
Text File  |  1997-12-10  |  3.9 KB  |  103 lines

  1. // -----
  2. // VDL169.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. // License Dialog
  7.  
  8. #include "StdVPref.txt"
  9.  
  10.  
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  14.  
  15. //This section contains all localizable string constants for this VDL program. Be sure to 
  16. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  17. //You may also flatten multiline constants into a single line, if you prefer
  18.  
  19. #define kLit1 "WARNING! This is pre-release software."
  20. #define kLit2 "Please read the License Agreement below, and click Agree if you"\
  21.                      " accept it. You cannot use Claris Home Page without accepting this"\
  22.                      " License."
  23. #define kLit3 "Disagree"
  24. #define kLit4 "&Disagree"
  25. #define kLit5 "Agree"
  26.  
  27.  
  28. //Localized Fonts
  29.  
  30. #if Platform_Mac
  31. #define AboutFont Font = {Times, 14, {Plain}}
  32. #define LicenseTextFont Font = {Times, 12, {Plain}}
  33. #else
  34. #define AboutFont Font = {Arial, 12, {Plain}}
  35. #define LicenseTextFont Font = SystemFont
  36. #endif
  37.  
  38.  
  39. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  40. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  41. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  42.  
  43.  
  44.  
  45. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  46. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  47. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  48.  
  49. //This section contains integer constants that are used to format this VDL program.
  50. //These are localizable - they only need to be changed if the localized strings 
  51. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  52.  
  53. //Width of the buttons on the bottom of the dialog
  54. #define kButtonWidth 75
  55.  
  56. //The base value to calculate the width of the dialog itself
  57. #define kDialogMainWidth 400
  58.  
  59. //Height of the license text area. Width is taken from the dialog width.
  60. #define kLicenseTextHeight 200
  61.  
  62. #define kMainStaticTextWidth 400
  63.  
  64. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  65. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  66. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  67.  
  68. //No further localizable data past this point
  69.  
  70. /************************** END LOCALIZABLE DATA ***************************************************/
  71. /************************** END LOCALIZABLE DATA ***************************************************/
  72. /************************** END LOCALIZABLE DATA ***************************************************/
  73.  
  74.  
  75. Margin(10, 10, 10, 10, stdBackColor)
  76.     VList()
  77.         {
  78.         StaticText(kLit1, Width = kMainStaticTextWidth,AboutFont);
  79.         StaticText(kLit2, Width = kDialogMainWidth,AboutFont);
  80.  
  81.         Spacer(Height = 10, Width = 0);
  82.         #if Platform_Win
  83.         Margin(0,0,1,0, BackColor = Black)
  84.         #endif
  85.             VList(VScroll, BackColor = White, Height = kLicenseTextHeight)
  86.                 StaticText(licenseString, Width = kDialogMainWidth, LicenseTextFont);
  87.             
  88.         Spacer(Height = 10, Width = 0);
  89.         HList(Width = UseParent)
  90.             {
  91.             Spacer(Height = 0, Width = UseParent);
  92.             #if Platform_Mac
  93.             CancelButton(kLit3, 1070, "None", Width = kButtonWidth, ExtraCommand = 314);
  94.             #else
  95.             CancelButton(kLit4, 1070,  "None", Width = kButtonWidth);
  96.             #endif
  97.             
  98.             Spacer(Height = 0, Width = 10);
  99.             FramedButton(kLit5, 1071, "None", Width = kButtonWidth);
  100.             }
  101.         } // Main List
  102.  
  103.