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

  1. ///////////////////////////////////////////////////////////////////////////
  2. // Tutorial.txt (VDL 2040)
  3. // AUTHOR: Anthony C. Ard <anthony_ard@claris.com>, 24-Jul-97.
  4. // Copyright 1997 Claris
  5.  
  6. // Standard defines.
  7. #include "StdVPref.txt"
  8.  
  9. ///////////////////////////////////////////////////////////////////////////
  10. // LOCALIZED STRING CONSTANTS BEGIN
  11.  
  12. /* This section contains all localizable string constants for this VDL
  13.    program. Be sure to include the backslash character at the end of each
  14.    line of a multi-line string, except for the last line.  You may also
  15.    flatten multiline constants into a single line, if you prefer. */
  16.  
  17. /* WINDOWS LOCALIZER: Note that there are no '&' chars in these strings---hotkeys 
  18.     are not functional in HomePage document windows, so the hotkey char 
  19.     is left out here. */
  20.  
  21. #define kLit1 "Contents"
  22. #define kLit2 "Display tutorial topics"
  23. #define kLit3 "Using the Tutorial"
  24. #define kLit4 "Display instructions for using this Tutorial window"
  25. #define kLit5 "Back"
  26. #define kLit6 "Back up to the previous tutorial topic"
  27.  
  28. ///////////////////////////////////////////////////////////////////////////
  29. // LOCALIZED STRING CONSTANTS END
  30.  
  31. ///////////////////////////////////////////////////////////////////////////
  32. // LOCALIZED NUMERICAL CONSTANTS BEGIN
  33.  
  34. /* This section contains integer constants that are used to format this VDL
  35.    program. These are localizable - they only need to be changed if the
  36.    localized strings are sufficiently longer than the US strings.  Localize
  37.    the strings first, then the constants. */
  38.  
  39. ///////////////////////////////////////////////////////////////////////////
  40. // LOCALIZED NUMERICAL CONSTANTS END
  41. // No further localizable data past this point.
  42. // END LOCALIZABLE DATA
  43. ///////////////////////////////////////////////////////////////////////////
  44.  
  45. #define Gap Spacer( Width=10, Height = UseParent )
  46.  
  47. #define ccTutorialBack 3462
  48. #define ccTutorialContents 3463
  49. #define ccTutorialUsing 3464
  50.  
  51. Define( MainToolbarList )
  52.     HList( BackColor = { 57015, 57015, 57015 }, Width = UseParent ) {
  53.         PushButton( kLit1, ccTutorialContents, "None", EH kLit2 );
  54.         Gap;
  55.         PushButton( kLit3, ccTutorialUsing, "None", EH kLit4 );
  56.         Spacer( Width=UseParent, Height = UseParent );
  57.         PushButton( kLit5, ccTutorialBack, "None", EH kLit6 );
  58.     }
  59.  
  60. #if Platform_Mac
  61.     Margin( 2, 2, 2, 3, Custom = "HeaderBarMarginProc", Width = UseParent )
  62.         Margin( 4, 3, 3, 4, stdBackColor )
  63.             Call( MainToolbarList );
  64. #else
  65.     VList( Width = UseParent, stdBackColor ) {
  66.         Margin( 4, 4, 4, 4, Width = UseParent )
  67.             Call( MainToolbarList );
  68.             
  69.         Spacer( Height = 1, Width = UseParent, BackColor = DkGray );
  70.         Spacer( Height = 1, Width = UseParent, BackColor = Black );
  71.     }
  72. #endif
  73.