/*****************************************************************************
*   Program to draw EE diagrams.					     *
*									     *
* This module handles object modification.				     *
*									     *
* Written by:  Gershon Elber			IBM PC Ver 1.0,	Oct. 1989    *
*****************************************************************************/

#ifndef EEMODIFY_H
#define EEMODIFY_H

BooleanType MoveStruct(DrawGenericStruct *DrawStruct);
BooleanType CopyStruct(DrawGenericStruct *DrawStruct);
BooleanType EditLibraryItem(void);
void DeleteStruct(DrawGenericStruct *DrawStruct);
void CutStruct(DrawGenericStruct *DrawStruct);
void FreeStruct(DrawGenericStruct *DrawStruct);
BooleanType UnDeleteStruct(void);
BooleanType PasteStruct(void);
void DropStruct(void);
BooleanType PlaceString(char *Str, TextOrientationType *Orient, int Scale,
					      int *x, int *y, int PopPosition);
DrawGenericStruct *PickStruct(char *Header, BooleanType OnlyLibItem);
BooleanType SnapPoint(int *OrigX, int *OrigY, BooleanType OnlyLibItem);
BooleanType SnapPoint2(int *OrigX, int *OrigY, BooleanType OnlyLibItem,
		DrawGenericStruct *DrawList, DrawPickedStruct *DontSnapList);
BooleanType DrawStructInBox(int x1, int y1, int x2, int y2,
						DrawGenericStruct *DrawStruct);

#endif EEMODIFY_H