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 / Tools & Goodies / ODFx / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-08-26  |  2.6 KB  |  90 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. #define FW_SUPPORTS_EMBEDDING 0
  28. #define FW_SUPPORTS_EXTENSIONS 0
  29. #define FW_SUPPORTS_SCRIPTING 0
  30.  
  31. //-------------------------------------------------------------------------------------
  32. // Icons ID
  33. #define kViewAsIconID         128
  34. #define kAboutIconID         130
  35.  
  36. //-------------------------------------------------------------------------------------
  37. // Strings
  38. #define kODFxPartStrings 1000
  39.  
  40. #define kFirstString         1
  41. #define kMacString            2
  42. #define kWinString            3
  43. #define kBlankString        4
  44.  
  45. #ifdef FW_BUILD_MAC
  46. #define kPlatformString     kMacString
  47. #endif
  48. #ifdef FW_BUILD_WIN
  49. #define kPlatformString     kWinString
  50. #endif
  51.  
  52. #define kODFxUndoStrings 1002
  53.  
  54. #define kUndoDropMsg    1
  55. #define kRedoDropMsg    2
  56. #define kUndoResetMsg    3
  57. #define kRedoResetMsg    4
  58. #define kUndoPasteMsg    5
  59. #define kRedoPasteMsg    6
  60. #define kUndoChangeMsg    7
  61. #define kRedoChangeMsg    8
  62.  
  63. //-------------------------------------------------------------------------------------
  64. // Menus 
  65. #define kMenuBar 1024
  66.  
  67. // ----- Command IDs
  68. #define c4Colors        FW_kFirstUserCommandID
  69. #define c9Colors        c4Colors + 1
  70. #define cSeparator1        c9Colors + 1
  71. #define cGridLines        cSeparator1 + 1
  72. #define cSeparator2        cGridLines + 1
  73. #define cLowRes            cSeparator2 + 1
  74. #define cMedRes            cLowRes + 1
  75. #define cHighRes        cMedRes + 1
  76. #define cSeparator3        cHighRes + 1
  77. #define cRotateColors    cSeparator3 + 1
  78.  
  79. //-------------------------------------------------------------------------------------
  80. // About 
  81. #define kAbout                 1024
  82.  
  83. //-------------------------------------------------------------------------------------
  84. // Part Info 
  85. #define kPartInfoID         1024
  86.  
  87.  
  88. #endif
  89.  
  90.