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 / Bitmap / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-09-17  |  2.4 KB  |  70 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. #ifndef FWMENUS_K
  14. #include "FWMenus.k"
  15. #endif
  16.  
  17. //-------------------------------------------------------------------------------------
  18. // Uncomment the following three lines, and define them appropriately!!
  19. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  20. // to be 1.  Otherwise define it to be 0.
  21. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  22. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  23. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  24. // define it to be zero.  Note that if your part is scriptable is must support
  25. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  26.  
  27. // Cyberdog currently is Mac-only (and CodeWarrior only also!)
  28.  
  29. #if defined(FW_BUILD_MAC) && defined (__MWERKS__)
  30. #define FW_SUPPORTS_CYBERDOG     1
  31. #else
  32. #define FW_SUPPORTS_CYBERDOG     0
  33. #endif
  34.  
  35. #define FW_SUPPORTS_EMBEDDING     0
  36. #define FW_SUPPORTS_EXTENSIONS     (FW_SUPPORTS_CYBERDOG)
  37. #define FW_SUPPORTS_SCRIPTING     0
  38.  
  39. //-------------------------------------------------------------------------------------
  40. // Icons ID
  41. #define kViewAsIconID            139
  42. #define kAboutIconID            141
  43.  
  44. //-------------------------------------------------------------------------------------
  45. // Menus
  46. #define kMenuBar                1100
  47.  
  48. // ----- Commands -----
  49. #define cHalfSize                FW_kFirstUserCommandID
  50. #define cRealSize                FW_kFirstUserCommandID + 1
  51. #define cDoubleSize                FW_kFirstUserCommandID + 2
  52. #define cFitToFrame                FW_kFirstUserCommandID + 3
  53. #define cRequestFrame            FW_kFirstUserCommandID + 4
  54. #define cRemoveFrame            FW_kFirstUserCommandID + 5
  55.  
  56. //#if FW_SUPPORTS_CYBERDOG
  57. #define cReload                 FW_kFirstUserCommandID + 6
  58. #define cReloadFast             FW_kFirstUserCommandID + 7
  59. #define cCyberdogCommands         (FW_kFirstUserCommandID + 100)
  60. //#endif
  61.  
  62. //-------------------------------------------------------------------------------------
  63. // Various Resources
  64. #define kAbout                    1100    // FW_RAbout
  65. #define kPartInfoID                1100    // FW_RPartInfo
  66. #define kSaveAs                    1100    // FW_RSaveAsInfo
  67.  
  68. #endif
  69.  
  70.