//
//  CRDraggableView.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 10/19/09.
//  Copyright 2009 Corner-A. All rights reserved.
//

#import "CRControl.h"

//////////////////////////////////////////////////////////////////////
// CRDraggableView
//////////////////////////////////////////////////////////////////////
@interface CRDraggableView : CRControl
{
@private
	NSEvent* mouseDownEvent;
	
@protected
	BOOL isSelected;
}

@property (assign, readwrite) id dragController;
@property (assign, readwrite) BOOL isSelected;

- (void)startDragWithPoint:(NSPoint)point andEvent:(NSEvent*)event;

@end