home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / BETA / SAMPLES / OPENDOC / PARTS / CNTNRPRT / PARTINFO.H < prev    next >
Text File  |  1995-12-13  |  2KB  |  56 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*  Change History:                                                 */
  13. /*  144532 11/21/95  ced  chagne type of bgColor to long            */
  14. /*  122244 05/13/95  rlt  added fGridOn                             */
  15. /*                                                                  */
  16. /********************************************************************/
  17.  
  18. /* PartInfo.h - header file for PartInfoRec class */
  19.  
  20. #include <od.h>
  21. #include <ODTypesB.xh>
  22. #include <odtypesm.xh>
  23. #include <part.xh>
  24.  
  25. class PartInfoRec
  26.   {
  27.   public:
  28.    PartInfoRec() { fIsActive = kODFalse; fNeedsActivating = kODFalse;
  29.                    fHasSelectedPart = kODFalse; fSelectedPart = kODNULL;
  30.                    fRestoreSelMenu = kODFalse;
  31.                    fSelectedMenuAdjusted = kODFalse; fSelPartFrame =kODNULL;
  32.                    fSelPopupAttached = kODFalse; fAcceptDrop = kODTrue; }
  33.     virtual ~PartInfoRec() { }
  34.     long       bgColor;
  35.     ODBoolean  fGridOn;  // Is the grid on?
  36.     ODBoolean  fIsActive;  // Does this frame have its focus set?
  37.     ODBoolean  fNeedsActivating; // should this be activated when its window is activated?
  38.     ODID partwindowID;
  39.     ODBoolean  fHasSelectedPart;     //an embedded part is selected
  40.     ODPart*    fSelectedPart;
  41.     ODBoolean  fRestoreSelMenu;
  42.     ODBoolean  fSelectedMenuAdjusted;
  43.     ODFrame*   fSelPartFrame;
  44.     ODBoolean  fSelPopupAttached;
  45.     ODBoolean  fAcceptDrop;
  46.   };
  47.  
  48. // [124243] : Facet part info record
  49. class FacetInfoRec
  50. {
  51.    public:
  52.    FacetInfoRec() { fClipShape = kODNULL; }
  53.    ~FacetInfoRec() {}
  54.    ODShape* fClipShape;
  55. };
  56.