//
//  CRStackingItemController.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 11/12/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

@class CRStackingPanel;

//////////////////////////////////////////////////////////////////////
// CRStackingItemController
//////////////////////////////////////////////////////////////////////
@interface CRStackingItemController : NSViewController
{
@protected
	BOOL inAnimation;
}

@property (nonatomic, assign)	id		owner;
@property (nonatomic, assign)	BOOL	selected;
@property (nonatomic, readonly)	NSSize	requestedSize;

- (CGFloat)animationDuration;
- (CRStackingPanel *)stackingPanel;
- (void)updateLayout;

@end