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

  1. /* ==========================================================================
  2. **
  3. **                               OutlineBox.h
  4. **
  5. ** Object<GraphicObject<OutlineBox
  6. **
  7. ** An OutlineBox is a 3D bevelled box with a character title along its
  8. ** top center.  These are usually used to group related gadgets together.
  9. **
  10. ** You can do anything to an OutlineBox that you can do with a GraphicObject
  11. ** (See GraphicObject.h)
  12. **
  13. ** ©1991 WILLISoft
  14. **
  15. ** ==========================================================================
  16. */
  17.  
  18.  
  19. #ifndef OUTLINEBOX_H
  20. #define OUTLINEBOX_H
  21.  
  22.  
  23. #include "GraphicObject.h"
  24. #include "Precognition3D.h"
  25. #include "Precognition_utils.h"
  26.  
  27. typedef struct OutlineBox
  28.    {
  29.       Class          *isa;
  30.       char           *ObjectName;
  31.       void           *Next; /* Points to next GraphicObject in chain. */
  32.       tPoint          Location;
  33.       tPoint          Size;
  34.       pcg_3DThinBevel Bevel;
  35.       pcg_3DPens      Pens;
  36.       char           *Label;
  37.  
  38.    } OutlineBox;
  39.  
  40. void OutlineBox_Init(  OutlineBox  *self,
  41.                        PIXELS       LeftEdge,
  42.                        PIXELS       TopEdge,
  43.                        PIXELS       Width,
  44.                        PIXELS       Height,
  45.                        pcg_3DPens   Pens,
  46.                        char        *Label );
  47.  
  48. struct GraphicObjectClass *OutlineBoxClass( void );
  49.  
  50. void OutlineBoxClass_Init( struct GraphicObjectClass *class );
  51.  
  52. #endif
  53.  
  54.