home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 2.5 KB | 77 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- #define FW_SUPPORTS_EMBEDDING 1
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 145
- #define kAboutIconID 147
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- // ----- Menus -----
- #ifdef FW_BUILD_WIN
- #define kEmbedMenu 6
- #endif
-
- // ----- Commands -----
- #define cHideShowGrid FW_kFirstUserCommandID
-
- //-------------------------------------------------------------------------------------
- // presentation
- #define kTablePresentation "Apple:Presentation:ODFTable"
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Part Window ID
- #define kDocumentWindowID 1024
-
- //-------------------------------------------------------------------------------------
- // Misc. constants
- #define kDrawingSizeX 300
- #define kDrawingSizeY 400
-
- //-------------------------------------------------------------------------------------
- // View resources & View IDs
- #define kTableView 1024
-
- #define kTableViewID 2
- #define kHorzScrollBarID 3
- #define kVertScrollBarID 4
- #define kGrowBoxID 5
-
-
- #endif
-
-