home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-02-22 | 2.5 KB | 54 lines | [TEXT/BROW] |
- //
- // File: global.h
- //
- // This file contains defines of a global nature.
- //
- // 2/18/95 -- Created by Mick
- //
-
- // shield
- #ifndef _global_h_
- #define _global_h_
-
- // global defines
-
- // useful constants
- #define kNil 0L // the value of an invalid pointer
- #define kTrue 1 // the value of truth
- #define kFalse 0 // the value of untruth
-
- #define kWindowInFront ( WindowPtr )-1L // the value to pass to NewWindow to place the window in the front
-
- // resource ids
-
- // color tables ('clut')
- #define kAppColorTableResID 128 // the resource id of the clut resource that defines the colors for the program
-
- // windows ('WIND')
- #define kMainWindowResID 128 // the resource id of the WIND resource for the main window
-
- // picts ('PICT')
- #define kNumberOne 201 // the resource id of the picture of the 1 disk
- #define kNumberTwo 202 // the resource id of the picture of the 2 disk
- #define kNumberThree 203 // the resource id of the picture of the 3 disk
- #define kNumberFour 204 // the resource id of the picture of the 4 disk
- #define kNumberFive 205 // the resource id of the picture of the 5 disk
- #define kNumberSix 206 // the resource id of the picture of the 6 disk
- #define kNumberSeven 207 // the resource id of the picture of the 7 disk
- #define kNumberEight 208 // the resource id of the picture of the 8 disk
- #define kNumberNine 209 // the resource id of the picture of the 9 disk
- #define kNumberTen 210 // the resource id of the picture of the 10 disk
- #define kMaskOne 211 // the resource id of the picture of the 1 disk
- #define kMaskTwo 212 // the resource id of the picture of the 2 disk
- #define kMaskThree 213 // the resource id of the picture of the 3 disk
- #define kMaskFour 214 // the resource id of the picture of the 4 disk
- #define kMaskFive 215 // the resource id of the picture of the 5 disk
- #define kMaskSix 216 // the resource id of the picture of the 6 disk
- #define kMaskSeven 217 // the resource id of the picture of the 7 disk
- #define kMaskEight 218 // the resource id of the picture of the 8 disk
- #define kMaskNine 219 // the resource id of the picture of the 9 disk
- #define kMaskTen 220 // the resource id of the picture of the 10 disk
-
- // end of shield
- #endif // #ifndef _global_h_
-