home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Clock / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.3 KB  |  50 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 clock face
  24. //----------------------------------------------------------------------------
  25. resource FW_kMULTISTRING (kClockFaceStrings)
  26. {
  27.     kClockDigitalWidthString, "12:59:59 MM";
  28.     kClockOpenDocString, "ODF";
  29. }
  30.  
  31. //----------------------------------------------------------------------------
  32. //    Menus
  33. //----------------------------------------------------------------------------
  34.  
  35. resource FW_RMenuBar(kMenuBar)
  36. {
  37.     {
  38.         FW_RPullDownMenu
  39.         (
  40.             "Clock"
  41.             {
  42.                 FW_RToggleItem(cClockType, FW_kNoKeyEquivalent, "Display as Analog", "Display as Digital"),
  43.                 FW_RSeparatorItem(),
  44.                 FW_RTextItem(cClockSoundsTick, FW_kNoKeyEquivalent, "Tick"),
  45.                 FW_RTextItem(cClockSoundsChime, FW_kNoKeyEquivalent, "Chime")
  46.             }
  47.         )
  48.     }
  49. };
  50.