home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / include / TitleBox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-16  |  1.4 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.       PClass          *isa;
  30.       char           *PObjectName;
  31.       void           *Next; /* Points to next GraphicObject in chain. */
  32.       Point          Location;
  33.       Point          Size;
  34.       pcg_3DBox       BoxBorder;
  35.       pcg_3DPens      Pens;
  36.       PrecogText      ptext;
  37.  
  38.    } TitleBox;
  39.  
  40. void TitleBox_Init __PARMS((
  41.                     TitleBox    *self,
  42.                     PIXELS       LeftEdge,
  43.                     PIXELS       TopEdge,
  44.                     PIXELS       Width,
  45.                     PIXELS       Height,
  46.                     pcg_3DPens   Pens,
  47.                     char        *Label
  48.                   ));
  49.  
  50. /* Additions for builder prototypes -- EDB */
  51. struct GraphicObjectClass *TitleBoxClass __PARMS(( void ));
  52.  
  53. #endif
  54.  
  55.