home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Libraries / Graphic Elements 2 / Extras / NullGE.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-25  |  711 b   |  36 lines  |  [TEXT/MPS ]

  1. /*
  2.     NullGE.h
  3.     
  4.     A "non-existent" Graphic Element.
  5.     
  6.     Two suggested uses:
  7.     
  8.     1) Can be used as an invisible "roll-over", with a CollisionProc
  9.        which, for example, does something to the colliding element.
  10.        
  11.     2) Can be slaved to a visible Graphic Element and assigned a
  12.        CollisionProc, for example to create a collision rectangle
  13.        which is different in size or location from that element's
  14.        animationRect.
  15.        
  16.     Copyright 1994 by Al Evans. All rights reserved.
  17.     
  18.     3/25/94
  19. */
  20.  
  21. #ifndef NULLELEMENT
  22. #define NULLELEMENT
  23.  
  24. #include "GraphElements.h"
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. GrafElPtr NewNullElement(GEWorldPtr world, OSType id, short plane, Rect *animRect);
  31.  
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.  
  36.