home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594b.lha / Precognition_rel1 / TitleBox.h < prev    next >
C/C++ Source or Header  |  1991-12-12  |  1KB  |  54 lines

  1. /* ==========================================================================
  2. **
  3. **                               TitleBox.h
  4. **
  5. ** Object<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           *ObjectName;
  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( TitleBox    *self,
  41.                     PIXELS       LeftEdge,
  42.                     PIXELS       TopEdge,
  43.                     PIXELS       Width,
  44.                     PIXELS       Height,
  45.                     pcg_3DPens   Pens,
  46.                     char        *Label );
  47.  
  48. struct GraphicObjectClass *TitleBoxClass( void );
  49.  
  50. void TitleBoxClass_Init( struct GraphicObjectClass *class );
  51.  
  52. #endif
  53.  
  54.