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 >
Wrap
Text File
|
1995-12-13
|
2KB
|
56 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* Change History: */
/* 144532 11/21/95 ced chagne type of bgColor to long */
/* 122244 05/13/95 rlt added fGridOn */
/* */
/********************************************************************/
/* PartInfo.h - header file for PartInfoRec class */
#include <od.h>
#include <ODTypesB.xh>
#include <odtypesm.xh>
#include <part.xh>
class PartInfoRec
{
public:
PartInfoRec() { fIsActive = kODFalse; fNeedsActivating = kODFalse;
fHasSelectedPart = kODFalse; fSelectedPart = kODNULL;
fRestoreSelMenu = kODFalse;
fSelectedMenuAdjusted = kODFalse; fSelPartFrame =kODNULL;
fSelPopupAttached = kODFalse; fAcceptDrop = kODTrue; }
virtual ~PartInfoRec() { }
long bgColor;
ODBoolean fGridOn; // Is the grid on?
ODBoolean fIsActive; // Does this frame have its focus set?
ODBoolean fNeedsActivating; // should this be activated when its window is activated?
ODID partwindowID;
ODBoolean fHasSelectedPart; //an embedded part is selected
ODPart* fSelectedPart;
ODBoolean fRestoreSelMenu;
ODBoolean fSelectedMenuAdjusted;
ODFrame* fSelPartFrame;
ODBoolean fSelPopupAttached;
ODBoolean fAcceptDrop;
};
// [124243] : Facet part info record
class FacetInfoRec
{
public:
FacetInfoRec() { fClipShape = kODNULL; }
~FacetInfoRec() {}
ODShape* fClipShape;
};