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

  1. /* ==========================================================================
  2. **
  3. **                               OutlineBox.h
  4. **
  5. ** PObject<GraphicObject<OutlineBox
  6. **
  7. ** An OutlineBox is a 3D grooved 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           *PObjectName;
  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(  
  41.    #ifdef ANSI_HEADERS
  42.                        OutlineBox  *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.