home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / WASTE 1.3a5 / Extras / Sample Object Handlers / WEObjectHandlers.h < prev   
Encoding:
C/C++ Source or Header  |  1997-05-11  |  742 b   |  30 lines  |  [TEXT/CWIE]

  1. /*
  2.     WASTE Demo Project:
  3.     Sample WASTE Object Handlers
  4.  
  5.     Copyright © 1993-1997 Marco Piovanelli
  6.     All Rights Reserved
  7. */
  8.  
  9. #ifndef _WASTE_
  10. #include "WASTE.h"
  11. #endif
  12.  
  13.  
  14. // PICTURES
  15.  
  16. pascal OSErr HandleNewPicture(Point *defaultObjectSize, WEObjectReference objectRef);
  17. pascal OSErr HandleDisposePicture(WEObjectReference objectRef);
  18. pascal OSErr HandleDrawPicture(const Rect *destRect, WEObjectReference objectRef);
  19.  
  20. // SOUNDS
  21.  
  22. enum {
  23.     kSoundIconID    =    550
  24. };
  25.  
  26. pascal OSErr HandleNewSound(Point *defaultObjectSize, WEObjectReference objectRef);
  27. pascal OSErr HandleDrawSound(const Rect *destRect, WEObjectReference objectRef);
  28. pascal Boolean HandleClickSound(Point hitPt, EventModifiers modifiers,
  29.                     UInt32 clickTime, WEObjectReference objectRef);
  30.