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

  1. // -----
  2. // vdl173.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. #include "StdVPref.txt"
  7.  
  8. //Prompt for a list of font names
  9.  
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13.  
  14. //This section contains all localizable string constants for this VDL program. Be sure to 
  15. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  16. //You may also flatten multiline constants into a single line, if you prefer
  17.  
  18. #define kLit1     "The browser will display text in the font you specify here." \
  19.                "  You may specify several fonts (separated by commas)," \
  20.                     " such as \"helvetica, arial, geneva\", in which case the " \
  21.                     " browser will use the first available font."
  22.  
  23.  
  24. //Localized Fonts
  25.  
  26. #if Platform_Mac
  27.     #define SmallFont  Font = {Geneva, 9, {Plain}}
  28. #endif
  29.  
  30.  
  31. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  32. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  33. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  34.  
  35.  
  36.  
  37. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  38. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  39. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  40.  
  41. //This section contains integer constants that are used to format this VDL program.
  42. //These are localizable - they only need to be changed if the localized strings 
  43. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  44. #define kDialogWidth 350
  45.  
  46. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  47. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  48. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  49.  
  50. //No further localizable data past this point
  51.  
  52. /************************** END LOCALIZABLE DATA ***************************************************/
  53. /************************** END LOCALIZABLE DATA ***************************************************/
  54. /************************** END LOCALIZABLE DATA ***************************************************/
  55.  
  56.  
  57. Margin(10,10,10,10, BackColor =  Dialog, Width = kDialogWidth)
  58.     VList(Width = UseParent)
  59.         {
  60.         StaticText(prompt, Width = UseParent);
  61.         
  62.         Spacer(Height = 6, Width = 0, ScaleV);
  63.         EditText(result, Width = UseParent, BackColor = {65535, 65535, 65535} );
  64.         Spacer(Height = 6, Width = 0, ScaleV);
  65.         
  66.         StaticText(    kLit1, 
  67.         
  68.                         #if Platform_Mac
  69.                         SmallFont, 
  70.                         #endif
  71.                         
  72.                         Alignment = Center, 
  73.                         Width = UseParent);
  74.         
  75.         Spacer(Height = 6, Width = 0, ScaleV);
  76.         
  77.         StandardDialogButtonsH;        
  78.         } //VList
  79.