/* 
   IMModelView.h

   Model view used for moving, sizing, and editing of visual components.

   Copyright (C) 1996, 1997 Free Software Foundation, Inc.

   Author: Scott Christley <scottc@net-community.com>
   Date: October 1996
   
   This file is part of the mySTEP Library and is provided
   under the terms of the GNU Library General Public License.
*/ 

#ifndef _mySTEP_H_IMModelView
#define _mySTEP_H_IMModelView

#include <AppKit/NSView.h>


typedef enum
{
	IMNoHandle,
	IMBottomRightHandle,
	IMBottomMiddleHandle,
	IMBottomLeftHandle,
	IMTopRightHandle,
	IMTopMiddleHandle,
	IMTopLeftHandle,
	IMRightMiddleHandle,
	IMLeftMiddleHandle

} IMHandleType;


@interface IMModelView : NSView

- (id) hitTestForHandle:(IMHandleType *)handle atPoint:(NSPoint)p;

@end

#endif /* _mySTEP_H_IMModelView */
