home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / utils / precognition / include / titlebox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-04  |  1.3 KB  |  55 lines

  1. /* ==========================================================================
  2. **
  3. **                               TitleBox.h
  4. **
  5. ** PObject<GraphicObject<TitleBox
  6. **
  7. ** A TitleBox is a 3D embossed box with a character title in its
  8. ** center.  (Looks kinda like a marquee.)
  9. **
  10. ** You can do anything to a TitleBox that you can do with a GraphicObject
  11. ** (See GraphicObject.h)
  12. **
  13. ** ©1991 WILLISoft
  14. **
  15. ** ==========================================================================
  16. */
  17.  
  18.  
  19. #ifndef TITLEBOX_H
  20. #define TITLEBOX_H
  21.  
  22.  
  23. #include "GraphicObject.h"
  24. #include "Precognition3D.h"
  25. #include "Precognition_utils.h"
  26.  
  27. typedef struct TitleBox
  28.    {
  29.       Class          *isa;
  30.       char           *PObjectName;
  31.       void           *Next; /* Points to next GraphicObject in chain. */
  32.       tPoint          Location;
  33.       tPoint          Size;
  34.       pcg_3DBox       BoxBorder;
  35.       pcg_3DPens      Pens;
  36.       PrecogText      ptext;
  37.  
  38.    } TitleBox;
  39.  
  40. void TitleBox_Init( 
  41.    #ifdef ANSI_HEADERS
  42.                     TitleBox    *self,
  43.                     PIXELS       LeftEdge,
  44.                     PIXELS       TopEdge,
  45.                     PIXELS       Width,
  46.                     PIXELS       Height,
  47.                     pcg_3DPens   Pens,
  48.                     char        *Label 
  49.    #endif
  50.                   );
  51.  
  52.  
  53. #endif
  54.  
  55.