home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Hello / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.9 KB  |  70 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Menus.fr
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef DEFINES_K
  15. #include "Defines.k"
  16. #endif
  17.  
  18. #ifndef FWMENUS_FR
  19. #include "FWMenus.fr"
  20. #endif
  21.  
  22. //----------------------------------------------------------------------------
  23. //    Strings for Hello Menu
  24. //----------------------------------------------------------------------------
  25. resource FW_kMULTISTRING (kHelloPartStrings)
  26. {
  27.     kFirstString,        "Welcome to ODF on ";
  28.     kMacString,            "Macintosh";
  29.     kWinString,            "Windows";
  30.     kBlankString,        "This part intentionally left blank";
  31. }
  32.  
  33. //----------------------------------------------------------------------------
  34. //    Strings for Undo and Redo menu items
  35. //----------------------------------------------------------------------------
  36.  
  37. resource FW_kMULTISTRING (kHelloUndoStrings)
  38. {
  39.     kUndoDragTextMsg,    "Undo Text Removal";
  40.     kRedoDragTextMsg,    "Redo Text Removal";
  41.     kUndoDropTextMsg,    "Undo Text Drop";
  42.     kRedoDropTextMsg,    "Redo Text Drop";
  43.     kUndoClearTextMsg,    "Undo Text Clear";
  44.     kRedoClearTextMsg,    "Redo Text Clear";
  45.     kUndoCutTextMsg,    "Undo Text Cut";
  46.     kRedoCutTextMsg,    "Redo Text Cut";
  47.     kUndoPasteTextMsg,    "Undo Text Paste";
  48.     kRedoPasteTextMsg,    "Redo Text Paste";
  49. }
  50.  
  51. //----------------------------------------------------------------------------
  52. //    Menus
  53. //----------------------------------------------------------------------------
  54.  
  55. resource FW_RMenuBar(kMenuBar)
  56. {
  57.     "About ODFHello...",
  58.  
  59.     {
  60.         FW_RPullDownMenu
  61.         (
  62.             "Hello"
  63.             {
  64.                 FW_RTextItem(cPlaceInCenter, FW_kNoKeyEquivalent, "Place Text in Center"),
  65.                 FW_RTextItem(cPlaceAtTop, FW_kNoKeyEquivalent, "Place Text at Top")
  66.             }
  67.         )
  68.     }
  69. };
  70.