home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
FRAME.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
6KB
|
253 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. */
/********************************************************************/
#ifndef _FRAME_
#define _FRAME_
#ifndef _PSTOBJ_
#include "PstObj.idl"
#endif
//==============================================================================
// Types
//==============================================================================
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODFrame;
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODFrameFacetIterator;
interface ODCanvas;
interface ODDraft;
interface ODFacet;
interface ODPart;
interface ODShape;
interface ODStorageUnit;
interface ODTransform;
interface ODDragItemIterator;
interface ODWindow;
//==============================================================================
// ODFrame
//==============================================================================
interface ODFrame : ODPersistentObject
{
ODFrame AcquireContainingFrame();
void SetContainingFrame(in ODFrame frame);
ODWindow AcquireWindow();
void SetWindow(in ODWindow window);
ODULong GetFrameGroup();
void SetFrameGroup(in ODULong groupID);
ODULong GetSequenceNumber();
void ChangeSequenceNumber(in ODULong sequenceNumber);
ODBoolean IsRoot();
ODBoolean IsSubframe();
void SetSubframe(in ODBoolean isSubframe);
ODBoolean IsOverlaid();
ODBoolean IsFrozen();
void SetFrozen(in ODBoolean isFrozen);
ODBoolean DoesPropagateEvents();
void SetPropagateEvents(in ODBoolean doesPropagateEvents);
ODBoolean IsInLimbo();
void SetInLimbo(in ODBoolean isInLimbo);
ODPart AcquirePart();
void ChangePart(in ODPart part);
ODInfoType GetPartInfo();
void SetPartInfo(in ODInfoType partInfo);
ODTypeToken GetViewType();
void SetViewType(in ODTypeToken viewType);
void ChangeViewType(in ODTypeToken viewType);
ODTypeToken GetPresentation();
void SetPresentation(in ODTypeToken presentation);
void ChangePresentation(in ODTypeToken presentation);
void FacetAdded(in ODFacet facet);
void FacetRemoved(in ODFacet facet);
ODFrameFacetIterator CreateFacetIterator();
ODShape CreateShape();
ODShape AcquireFrameShape(in ODCanvas biasCanvas);
void ChangeFrameShape(in ODShape shape, in ODCanvas biasCanvas);
ODShape RequestFrameShape(in ODShape shape, in ODCanvas biasCanvas);
ODShape AcquireUsedShape(in ODCanvas biasCanvas);
void ChangeUsedShape(in ODShape shape, in ODCanvas biasCanvas);
ODTransform CreateTransform();
ODTransform AcquireInternalTransform(in ODCanvas biasCanvas);
void ChangeInternalTransform(in ODTransform transform, in ODCanvas biasCanvas);
void GetContentExtent(out ODPoint contentExtent); // [137664]
void ChangeContentExtent(in ODPoint contentExtent);
ODBoolean IsDroppable();
void SetDroppable(in ODBoolean isDroppable);
ODBoolean IsDragging();
void SetDragging(in ODBoolean isDragging);
void ContentUpdated(in ODUpdateID change);
void ChangeLinkStatus(in ODLinkStatus status);
ODLinkStatus GetLinkStatus();
ODBoolean EditInLink();
void Invalidate(in ODShape invalidShape, in ODCanvas biasCanvas);
void Validate(in ODShape validShape, in ODCanvas biasCanvas);
void InvalidateActiveBorder();
void DrawActiveBorder();
void Close();
void Remove();
#ifdef __SOMIDL__
implementation
{
functionprefix = ODFrame;
override:
somInit,
somUninit,
Purge,
Release,
ReleaseAll,
Externalize,
GetID,
CloneInto;
releaseorder:
AcquireContainingFrame,
SetContainingFrame,
AcquireWindow,
SetWindow,
GetFrameGroup,
SetFrameGroup,
GetSequenceNumber,
ChangeSequenceNumber,
IsRoot,
IsSubframe,
SetSubframe,
IsOverlaid,
IsFrozen,
SetFrozen,
DoesPropagateEvents,
SetPropagateEvents,
IsInLimbo,
SetInLimbo,
AcquirePart,
ChangePart,
GetPartInfo,
SetPartInfo,
GetViewType,
SetViewType,
ChangeViewType,
GetPresentation,
SetPresentation,
ChangePresentation,
FacetAdded,
FacetRemoved,
CreateFacetIterator,
CreateShape,
AcquireFrameShape,
ChangeFrameShape,
RequestFrameShape,
AcquireUsedShape,
ChangeUsedShape,
CreateTransform,
AcquireInternalTransform,
ChangeInternalTransform,
GetContentExtent,
ChangeContentExtent,
IsDroppable,
SetDroppable,
IsDragging,
SetDragging,
ContentUpdated,
ChangeLinkStatus,
GetLinkStatus,
EditInLink,
Invalidate,
Validate,
InvalidateActiveBorder,
DrawActiveBorder,
Close,
Remove,
GetFacets,
SetDirty,
CommonInitFrame,
InitFrame,
InitFrameFromStorage,
InitFrameNonPersistent;
};
#endif
};
#endif // _FRAME_