home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / luschsrc.sit / test.h < prev    next >
Text File  |  1990-05-23  |  1KB  |  66 lines

  1. /********************************************************************************
  2.  *    test.h
  3.  *
  4.  *    Color Test Management Header
  5.  *
  6.  *    Written by Paco Xander Nathan
  7.  *    ⌐1990, Motorola Inc.  Public domain source code.
  8.  ********************************************************************************/
  9.  
  10. #define _H_test
  11.  
  12.  
  13. typedef enum {
  14.     testReset = 1, testSpace1,
  15.     testUserMode, testBorderless, testInColor, testSpace2,
  16.     testCleanUp
  17. } TestMenuItems;
  18.  
  19.  
  20. typedef enum {
  21.     testPass0, testPass1
  22. } TestPasses;
  23.  
  24.  
  25. typedef enum {
  26.     tstPhase1 = 1, tstPhase2, tstGoAgain
  27. } TestPhases;
  28.  
  29.  
  30. typedef struct {
  31.     Rect bounds;
  32.     short color;
  33.     short order;
  34.     Boolean selected;
  35. } TestPadType;
  36.  
  37.  
  38.  
  39. /* External Data Structures
  40.  */
  41. extern Boolean
  42.     testUser,
  43.     testBCraig,
  44.     testJDavis;
  45.  
  46. extern PaletteHandle
  47.     testPal;
  48.  
  49. extern TestPhases
  50.     testPhase;
  51.  
  52. extern TestPadType
  53.     testPad[];
  54.  
  55.  
  56. /* External Function Prototypes
  57.  */
  58. #ifdef PROTOTYPES
  59. void TestSetup (void);
  60. void TestReset (void);
  61. void TestTitleInfo (void);
  62. void TestDraw (void);
  63. void TestClick (Point thePoint);
  64. void TestMenu (short theItem);
  65. #endif
  66.