home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / luschsrc.sit / dialog.h.bin / dialog.h
Encoding:
C/C++ Source or Header  |  1990-01-26  |  1.0 KB  |  43 lines  |  [TEXT/KAHL]

  1. /********************************************************************************
  2.  *    dialog.h
  3.  *
  4.  *    Dialog Management Header
  5.  *
  6.  *    Written by Paco Xander Nathan
  7.  *    ⌐1990, Motorola Inc.  Public domain source code.
  8.  ********************************************************************************/
  9.  
  10. #define _H_dialog
  11.  
  12.  
  13. #include <DialogMgr.h>
  14.  
  15.  
  16. typedef enum {
  17.     aboutDlogID = 256,
  18.     messageDlogID,
  19.     analDlogID
  20. } dlogRsrcID;
  21.  
  22.  
  23. /* External Data Structures
  24.  */
  25. extern DialogPtr
  26.     dPtrAbout,
  27.     dPtrAnal;
  28.  
  29.  
  30. /* External Function Prototypes
  31.  */
  32. #ifdef PROTOTYPES
  33. short DlogRandom (short ceiling);
  34. void DlogOrigin (short alertID, Point *thePoint);
  35. pascal Boolean DlogModalEvent (DialogPtr theDialog, EventRecord *theEvent, short *itemNum);
  36. pascal DialogPtr DlogOpenModal (short dialogID);
  37. void DlogCloseModal (DialogPtr theDialog, Boolean trips);
  38. void DlogSetItem (DialogPtr theDialog, short itemNum, short value);
  39. void DlogModelessEvent (EventRecord *theEvent);
  40. pascal DialogPtr DlogWindow (short dlogID);
  41. void DlogDispose (WindowPtr theWindow);
  42. #endif
  43.