home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / BSP Tree 1.2 / Sources / Core / include / event.h < prev    next >
Encoding:
Text File  |  1995-03-26  |  1.2 KB  |  29 lines  |  [TEXT/MMCC]

  1. //------------------------------------------------------------------------------
  2. //    File:                    event.h
  3. //    Date:                    7/12/94
  4. //    Author:                Bretton Wade
  5. //
  6. //    Description:    this file contains declarations related to Macintosh event
  7. //                                processing
  8. //
  9. //------------------------------------------------------------------------------
  10.  
  11. #ifndef    EVENT
  12. #define    EVENT
  13.  
  14. //------------------------------------------------------------------------------
  15. //    variables
  16. //------------------------------------------------------------------------------
  17. extern    RgnHandle                gMouseRgn;                                                                                            //    the mouse moved region
  18. extern    bool                        gFinished;                                                                                            //    execution control
  19.  
  20. //------------------------------------------------------------------------------
  21. //    functions
  22. //------------------------------------------------------------------------------
  23. bool    KeyIsPressed (ushort);                                                                                                        //    check to see if a key is pressed
  24. void    ProcessOneEvent (void);                                                                                                        //    get one macintosh event and handle it
  25. void    MouseRegion (RgnHandle);                                                                                                    //    assign the region to the mouse region
  26.  
  27. //------------------------------------------------------------------------------
  28.  
  29. #endif    //EVENT