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 / ViewTester / Sources / PartInfo.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  2.3 KB  |  110 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                PartInfo.fr
  4. //    Release Version:    $ ODF 2 $
  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 FWPART_FR
  15. #include "FWPart.fr"
  16. #endif
  17.  
  18. #ifndef DEFINES_K
  19. #include "Defines.k"
  20. #endif
  21.  
  22. #ifndef BINDING_K
  23. #include "Binding.k"
  24. #endif
  25.  
  26. #ifndef FWWINDOW_K
  27. #include "FWWindow.k"
  28. #endif
  29.  
  30. //----------------------------------------------------------------------------------------
  31. //    PartInfo Resource
  32. //----------------------------------------------------------------------------------------
  33.  
  34. resource FW_RPartInfo(kPartInfoID)
  35. {
  36.     // ----- Icon ID
  37.     kViewAsIconID,
  38.     
  39.     // ----- MenuBar ID
  40.     kMenuBar,
  41.     
  42.     // ----- Document Window ID
  43.     kDocumentWindowID,
  44.     
  45.     // ----- Part Name
  46.     kViewTesterEditorUserString,
  47.     
  48.     // ----- PartKind
  49.     kViewTesterKind
  50. };
  51.  
  52. //----------------------------------------------------------------------------------------
  53. //    Document Window Resource
  54. //----------------------------------------------------------------------------------------
  55.  
  56. resource FW_RDocumentWindow(kDocumentWindowID)
  57. {
  58.     // ----- Size
  59.     {FW_FIX(kPictureWidth), FW_FIX(kPictureHeight)},
  60.     
  61.     // ----- Position
  62.     {FW_FIX(0), FW_FIX(0)},        // (0,0) means default position
  63.     
  64.     // ----- Style
  65.     FW_kStandardWindow | FW_kHasCloseBox,
  66.  
  67.     // ----- Presentation
  68.     kMainPresentation
  69. };
  70.  
  71. //----------------------------------------------------------------------------------------
  72. //    About Resource
  73. //----------------------------------------------------------------------------------------
  74.  
  75. resource FW_RAbout(kAbout)
  76. {
  77.     // ----- Icon ID
  78.     kAboutIconID,
  79.     // ----- Part Name
  80.     FW_RStyledText
  81.     (
  82.         FW_FIX(18), 
  83.         FW_kBold, 
  84.         "times", 
  85.         "ODF ViewTester"
  86.     ),
  87.     // ----- Version Number
  88.     FW_RStyledText
  89.     (
  90.         FW_FIX(9),
  91.         FW_kPlain,
  92.         "geneva",
  93.         "ODF Release 2"
  94.     ),
  95.     // ----- Credits
  96.     FW_RStyledText
  97.     (
  98.         FW_FIX(9),
  99.         FW_kPlain,
  100.         "geneva",
  101.         "ViewTester is a tool for testing the conversion of MacApp and PowerPlant"
  102.         "views.  Please see the User Guide for more information\r\r"
  103.         "Written by the ODF Team.\r"
  104.     ),
  105.     // ----- ButtonString
  106.     "OK",
  107.     // ----- ButtonSize
  108.     {FW_FIX(80), FW_FIX(30)}
  109. };
  110.