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

  1. // -----
  2. // VDL205.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. // Top half of the Object Editor for a Spacer object
  7.  
  8. #include "ObjEPref.txt"
  9.  
  10.  
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  14.  
  15. #define kLit1 "&Height:"
  16. #define kLit2 "&Width:"
  17. #define kLit3 "Pixels"
  18. #define kLit4 "Percent"
  19.  
  20.  
  21. #define kLit5 "Reminder: when using spacers on your web"\
  22.                                   " page, this feature is only available to those"\
  23.                                   " browsing with Netscape Navigator 3.0 or newer."
  24. //Mouse over help strings
  25. #define kLit201 "Specifies the width of the spacer."
  26. #define kLit202 "Specifies whether the spacer width is a percentage of the browser windowÆs width or a fixed amount that is not affected by the browser windowÆs width."
  27. #define kLit203 "Specifies the height of the spacer."
  28. #define kLit204 "Specifies whether the spacer height is a percentage of the browser windowÆs height or a fixed amount that is not affected by the browser windowÆs height."
  29.  
  30.  
  31.  
  32. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  33. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35.  
  36.  
  37.  
  38. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  39. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  40. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  41.  
  42. #if Platform_Mac
  43.  
  44.     //Width of the "NOEDIT" check box
  45.     #define kNoEditCheckboxWidth 250
  46.     #define kSpacerCommentWidth 67
  47.  
  48. #else
  49.  
  50.     //Width of the "NOEDIT" check box
  51.     #define kNoEditCheckboxWidth 250
  52.     #define kSpacerCommentWidth 67
  53.     
  54. #endif
  55.  
  56. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  57. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  58. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  59.  
  60.  
  61.  
  62. //No further localizable data past this point
  63.  
  64. /************************** END LOCALIZABLE DATA ***************************************************/
  65. /************************** END LOCALIZABLE DATA ***************************************************/
  66. /************************** END LOCALIZABLE DATA ***************************************************/
  67.  
  68.  
  69.  
  70. VList(UseParWidth, stdBackColor)
  71.     {
  72.     HList(stdBackColor)
  73.         {
  74.         EditText( obj.width, FilterProc = "ImageWidthFilter",
  75.                      Prefilter="ImageWidthPrefilter",
  76.                      Label = kLit2, StdLblWidth, StdEditWidth, StdFlags, EH kLit201 );
  77.         
  78.         Spacer(Width=6);
  79.         IntegerPopup("", 0, obj.wUnit, kPopupFont, Action = ToggleWUnit, EH kLit202)
  80.             {
  81.             IntItem(kLit3, 0);
  82.             IntItem(kLit4, 1);
  83.             };
  84.         
  85.         } // HList
  86.     
  87.     Spacer(Height=6);
  88.     HList(stdBackColor)
  89.         {
  90.         EditText( obj.height, FilterProc = "ImageHeightFilter",
  91.                      Prefilter="ImageHeightPrefilter",
  92.                      Label = kLit1, StdLblWidth, StdEditWidth, StdFlags, EH kLit203 );
  93.         
  94.         Spacer(Width=6);
  95.         IntegerPopup("", 0, obj.hUnit, kPopupFont, Action = ToggleHUnit, EH kLit204)
  96.             {
  97.             IntItem(kLit3, 0);
  98.             IntItem(kLit4, 1);
  99.             };
  100.         } // HList
  101.     
  102.         Margin(kSpacerCommentWidth,5,0,0)
  103.             StaticText( kLit5, Width = UseParent, kPlainFont);
  104.     } // VList
  105.